8#ifndef SkottieAnimator_DEFINED
9#define SkottieAnimator_DEFINED
29class AnimationBuilder;
57 return this->bind<T>(abuilder, jobject, &v);
64 SkV2* v,
float* orientation);
66 bool isStatic()
const {
return fAnimators.empty() && !fHasSlotID; }
81 std::vector<sk_sp<Animator>> fAnimators;
82 bool fHasSynced =
false;
83 bool fHasSlotID =
false;
bool bindAutoOrientable(const AnimationBuilder &abuilder, const skjson::ObjectValue *jobject, SkV2 *v, float *orientation)
void attachDiscardableAdapter(sk_sp< AnimatablePropertyContainer >)
bool bind(const AnimationBuilder &abuilder, const skjson::ObjectValue *jobject, T &v)
bool bind(const AnimationBuilder &, const skjson::ObjectValue *, T *)
virtual StateChanged onSeek(float t)=0
StateChanged seek(float t)