blob: 2e69ec507c7c982698825b72aaa83e70db00d258 [file]
#include "rive/animation/keyframe_bool.hpp"
#include "rive/generated/core_registry.hpp"
using namespace rive;
void KeyFrameBool::apply(Core* object, int propertyKey, float mix)
{
CoreRegistry::setBool(object, propertyKey, value());
}
void KeyFrameBool::applyInterpolation(Core* object,
int propertyKey,
float currentTime,
const KeyFrame* nextFrame,
float mix,
const LinearAnimationInstance* context)
{
(void)context;
CoreRegistry::setBool(object, propertyKey, value());
}