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