Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
AnimationSystem::Skeletal::BoneKeyFrameRotationTransition Struct Reference
Inheritance diagram for AnimationSystem::Skeletal::BoneKeyFrameRotationTransition:
Collaboration diagram for AnimationSystem::Skeletal::BoneKeyFrameRotationTransition:

Public Member Functions

 BoneKeyFrameRotationTransition (StringId const boneName, BoneRotationKeyFrame const &beginFrame, BoneRotationKeyFrame const &endFrame)
 
float GetCurrentRotation (float const currentTimeWrapped) const
 
- Public Member Functions inherited from AnimationSystem::Skeletal::BoneKeyFrameTransitionBase
bool AnimationWithinThisTransitionAtThisTime (float const currentTimeWrapped) const
 

Static Public Member Functions

static unique_ptr< BoneKeyFrameRotationTransitionMakeSoloFrame (StringId const boneName, unique_ptr< BoneRotationKeyFrame >::element_type const &frame)
 Some animations have bones move to a rotation and remain stationary, this is a solo_frame. More...
 

Additional Inherited Members

- Public Attributes inherited from AnimationSystem::Skeletal::BoneKeyFrameTransitionBase
StringId const BoneName
 The bone this transition describes.
 
- Protected Member Functions inherited from AnimationSystem::Skeletal::BoneKeyFrameTransitionBase
 BoneKeyFrameTransitionBase (StringId const boneName, BoneKeyFrame const &beginFrame, BoneKeyFrame const &endFrame)
 
 BoneKeyFrameTransitionBase (StringId const boneName, BoneKeyFrame const &beginFrame)
 
float GetLerpPercent (float const currentTimeWrapped) const
 

Member Function Documentation

◆ MakeSoloFrame()

static unique_ptr< BoneKeyFrameRotationTransition > AnimationSystem::Skeletal::BoneKeyFrameRotationTransition::MakeSoloFrame ( StringId const  boneName,
unique_ptr< BoneRotationKeyFrame >::element_type const &  frame 
)
inlinestatic

Some animations have bones move to a rotation and remain stationary, this is a solo_frame.

Returns
Ownership of the solo frame

The documentation for this struct was generated from the following file: