 |
Flutter Impeller
|
|
Go to the documentation of this file.
11 #include "flutter/fml/hash_combine.h"
12 #include "flutter/fml/macros.h"
24 class TranslationTimelineResolver;
25 class RotationTimelineResolver;
26 class ScaleTimelineResolver;
31 std::vector<Scalar> times,
32 std::vector<Vector3> values);
35 std::vector<Scalar> times,
36 std::vector<Quaternion> values);
39 std::vector<Scalar> times,
40 std::vector<Vector3> values);
88 std::vector<Vector3> values_;
107 std::vector<Quaternion> values_;
126 std::vector<Vector3> values_;
virtual void Apply(AnimationTransforms &target, SecondsF time, Scalar weight)=0
Resolve and apply the property value to a target node. This operation is additive; a given node prope...
virtual ~PropertyResolver()
std::vector< Scalar > times_
static std::unique_ptr< TranslationTimelineResolver > MakeTranslationTimeline(std::vector< Scalar > times, std::vector< Vector3 > values)
std::chrono::duration< float > SecondsF
size_t index
The index of the closest previous keyframe.
~RotationTimelineResolver()
~TranslationTimelineResolver()
static std::unique_ptr< ScaleTimelineResolver > MakeScaleTimeline(std::vector< Scalar > times, std::vector< Vector3 > values)
void Apply(AnimationTransforms &target, SecondsF time, Scalar weight) override
Resolve and apply the property value to a target node. This operation is additive; a given node prope...
virtual SecondsF GetEndTime()=0
static std::unique_ptr< RotationTimelineResolver > MakeRotationTimeline(std::vector< Scalar > times, std::vector< Quaternion > values)
void Apply(AnimationTransforms &target, SecondsF time, Scalar weight) override
Resolve and apply the property value to a target node. This operation is additive; a given node prope...
void Apply(AnimationTransforms &target, SecondsF time, Scalar weight) override
Resolve and apply the property value to a target node. This operation is additive; a given node prope...
TimelineKey GetTimelineKey(SecondsF time)
virtual ~TimelineResolver()