Table of Contents

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 CharData

Data about the character.

context IAnimationContext

Data 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 object

The 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.