#include <property_resolver.h>
Public Member Functions | |
~RotationTimelineResolver () | |
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 property may be amended by many different PropertyResolvers prior to rendering. For example, an AnimationPlayer may blend multiple Animations together by applying several AnimationClips. More... | |
![]() | |
virtual | ~TimelineResolver () |
SecondsF | GetEndTime () |
![]() | |
virtual | ~PropertyResolver () |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< TranslationTimelineResolver > | MakeTranslationTimeline (std::vector< Scalar > times, std::vector< Vector3 > values) |
static std::unique_ptr< RotationTimelineResolver > | MakeRotationTimeline (std::vector< Scalar > times, std::vector< Quaternion > values) |
static std::unique_ptr< ScaleTimelineResolver > | MakeScaleTimeline (std::vector< Scalar > times, std::vector< Vector3 > values) |
![]() | |
TimelineKey | GetTimelineKey (SecondsF time) |
![]() | |
std::vector< Scalar > | times_ |
Definition at line 99 of file property_resolver.h.
|
default |
|
overridevirtual |
Resolve and apply the property value to a target node. This operation is additive; a given node property may be amended by many different PropertyResolvers prior to rendering. For example, an AnimationPlayer may blend multiple Animations together by applying several AnimationClips.
Implements impeller::scene::PropertyResolver.
Definition at line 102 of file property_resolver.cc.
References impeller::scene::AnimationTransforms::animated_pose, impeller::scene::AnimationTransforms::bind_pose, impeller::scene::TimelineResolver::GetTimelineKey(), impeller::Quaternion::Invert(), impeller::MatrixDecomposition::rotation, and impeller::Quaternion::Slerp().