Interface IAnimationContext
- Namespace
- TMPEffects.TMPAnimations
- Assembly
- TMPEffects.dll
Basic interface for animation contexts.
public interface IAnimationContext
Properties
AnimatorContext
The context of the animating TMPAnimator.
IAnimatorContext AnimatorContext { get; }
Property Value
CustomData
The custom data object.
object CustomData { get; }
Property Value
SegmentData
Data about the animation segment.
SegmentData SegmentData { get; }
Property Value
State
The current state of the CharData, with the previous animations applied.
ICharDataState State { get; }
Property Value
Methods
FinishAnimation(CharData)
Set the animation to be considered finished for the given character.
void FinishAnimation(CharData cData)
Parameters
cData
CharData
Finished(int)
Check if the animation is considered finished for the character at the given index.
bool Finished(int index)
Parameters
index
int
Returns
Finished(CharData)
Check if the animation is considered finished for the given character.
bool Finished(CharData cData)
Parameters
cData
CharData