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