Interface IAnimatorDataProvider
- Namespace
- TMPEffects.Components.Animator
Provides data about a TMPAnimator.
public interface IAnimatorDataProvider
Properties
Animator
The animating TMPAnimator.
TMPAnimator Animator { get; }
Property Value
Modifiers
The current state of the CharData, with the previous animations applied.
A typical exemplary use case would be if you want an animation to enforce a character to be at a specific position,
regardless of previously applied animations, you can reset the position of these Modifiers to undo previous changes.
Another example would be if your animation requires the actual position of the character, that takes into account transformations
made by previously applied animations, you can do so using Modifiers.CalculateVertexPositions.
CharDataModifiers Modifiers { get; }
Property Value
ScaleAnimations
Whether animations are scaled.
bool ScaleAnimations { get; }
Property Value
ScaleUniformly
Whether to scale animations uniformly (based on the default font size of the animator)
or on a per character basis.
Ignored if ScaleAnimations is false.
bool ScaleUniformly { get; }
Property Value
UseScaledTime
Whether animations use scaled time.
bool UseScaledTime { get; }