Interface ITMPAnimation
- Namespace
- TMPEffects.TMPAnimations
Base interface for all TMPEffects animations.
public interface ITMPAnimation : ITMPParameterValidator
- Inherited Members
Methods
Animate(CharData, IAnimationContext)
Animate the given character.
void Animate(CharData cData, IAnimationContext context)
Parameters
cDataCharDataData about the character.
contextIAnimationContextData about the animator.
GetNewCustomData()
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>, ITMPKeywordDatabase)
Set the parameters for the animation.
void SetParameters(object customData, IDictionary<string, string> parameters, ITMPKeywordDatabase keywordDatabase)
Parameters
customDataobjectThe custom data for this animation.
parametersIDictionary<string, string>Parameters as key-value-pairs.
keywordDatabaseITMPKeywordDatabaseThe keyword database used for parsing the parameter values.