Anim 0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
AnimationSystem::Mesh::AnimationSwapTransition Struct Reference

A transition between two animator's animations. More...

#include <AnimationSwapTransition.h>

Collaboration diagram for AnimationSystem::Mesh::AnimationSwapTransition:

Public Types

enum class  TransitionDirection { FirstToSecond , SecondToFirst }
 

Public Member Functions

 AnimationSwapTransition (float const duration, TransitionDirection const direction, bool const startActive, OptionalConfigOnTransitionAnimationDelegateStruct transitionDelegate={})
 
TransitionDirection GetDirection () const
 
void AccumulateTime (float const deltaTime)
 
void SetToBeginning ()
 
void SetToEnd ()
 
bool HasEnded () const
 
bool HasDelegate () const
 
PureResult ApplyDelegate (IAnimationPlayerConfig &firstAnimator, IAnimationPlayerConfig &secondAnimator) const noexcept(false)
 Applies the delegate to the animators being transitioned between.
 
void Invert ()
 
BlendLerpValue CurrentTransitionValue () const
 
BlendLerpValue PercentThroughTransition () const
 
BlendLerpValue BeginValue () const
 
BlendLerpValue EndValue () const
 
bool IsActive () const
 
void Activate ()
 
void Deactivate ()
 

Detailed Description

A transition between two animator's animations.

Member Function Documentation

◆ GetDirection()

TransitionDirection AnimationSystem::Mesh::AnimationSwapTransition::GetDirection ( ) const
inline
Returns
If this transition is going from the first to the second or vice versa

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