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