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
cData
CharDataData about the character.
context
IAnimationContextData 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
customData
objectThe custom data for this animation.
parameters
IDictionary<string, string>Parameters as key-value-pairs.
keywordDatabase
ITMPKeywordDatabaseThe keyword database used for parsing the parameter values.