blob: 2d89d8dc00adc5c86425cbbf20524f817891b0e4 [file] [log] [blame]
#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)
{
CoreRegistry::setBool(object, propertyKey, value());
}