Classes¶
Animation/Skeletal Animation
Brief descriptions¶
Classes |
|
Blends multiple animations (used for skeletal animations). |
|
Detailed information¶
animation::AnimationMixer¶
engine/core/modules/animation/include/nau/animation/playback/animation_mixer.h
-
class AnimationMixer : public virtual IRefCounted¶
Blends multiple animations (used for skeletal animations).
Subclassed by nau::animation::SkeletalAnimationMixer
Public Functions
-
virtual void blendAnimations(const IAnimatable::Ptr &target) = 0¶
-
virtual void computeFinalTransforms(const IAnimatable::Ptr &target) = 0¶
Private Functions
-
NAU_CLASS(nau::animation::AnimationMixer, rtti::RCPolicy::Concurrent, IRefCounted)¶
-
virtual void blendAnimations(const IAnimatable::Ptr &target) = 0¶
animation::SkeletalAnimation¶
engine/core/modules/animation/include/nau/animation/playback/animation_skeleton.h
-
class SkeletalAnimation : public nau::animation::AnimationImpl<ISkeletonAnimatableKeyFrameType>¶
Public Functions
-
virtual void apply(int frame, AnimationState &animationState) const override¶
Animates the target according to the current animation state.
- Parameters:
frame – [in] Current frame index.
animationState – [in] Animation state.
Public Members
-
ozz::animation::Animation ozzAnimation¶
-
virtual void apply(int frame, AnimationState &animationState) const override¶
animation::SkeletalAnimationMixer¶
engine/core/modules/animation/include/nau/animation/playback/animation_skeleton.h
-
class SkeletalAnimationMixer : public nau::animation::AnimationMixer¶
Public Functions
-
virtual void blendAnimations(const IAnimatable::Ptr &target) override¶
-
virtual void computeFinalTransforms(const IAnimatable::Ptr &target) override¶
Private Functions
-
NAU_CLASS_(nau::animation::SkeletalAnimationMixer, nau::animation::AnimationMixer, IRefCounted)¶
-
virtual void blendAnimations(const IAnimatable::Ptr &target) override¶