Interface ITMPAnimation
- Namespace
- TMPEffects.TMPAnimations
- Assembly
- TMPEffects.dll
Base interface for all TMPEffects animations.
public interface ITMPAnimation
Methods
Animate(CharData, IAnimationContext)
Animate the given character.
void Animate(CharData cData, IAnimationContext context)
Parameters
cData
CharDataData about the character.
context
IAnimationContextData about the animator.
GetNewCustomData()
Create and get a new custom data object for this animation.
object GetNewCustomData()
Returns
- object
The custom data object for this animation.
SetParameters(object, IDictionary<string, string>)
Set the parameters for the animation.
void SetParameters(object customData, IDictionary<string, string> parameters)
Parameters
customData
objectThe custom data for this animation.
parameters
IDictionary<string, string>Parameters as key-value-pairs.
ValidateParameters(IDictionary<string, string>)
Validate the parameters.
Used to validate tags.
bool ValidateParameters(IDictionary<string, string> parameters)
Parameters
parameters
IDictionary<string, string>
Returns
- bool
true if the parameters were successfully validated; false otherwise.