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

Public Member Functions

 BoneKeyFrameTranslationTransition (StringId const boneName, BoneTranslationKeyFrame const &beginFrame, BoneTranslationKeyFrame const &endFrame)
 
gef::Vector2 GetCurrentPosition (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< BoneKeyFrameTranslationTransitionMakeSoloFrame (StringId const boneName, BoneTranslationKeyFrame const &frame)
 Some animations have bones move to a position 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< BoneKeyFrameTranslationTransition > AnimationSystem::Skeletal::BoneKeyFrameTranslationTransition::MakeSoloFrame ( StringId const  boneName,
BoneTranslationKeyFrame const &  frame 
)
inlinestatic

Some animations have bones move to a position 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: