Table of Contents

Interface IAnimationContext

Namespace
TMPEffects.TMPAnimations
Assembly
TMPEffects.dll

Basic interface for animation contexts.

public interface IAnimationContext

Properties

AnimatorContext

The context of the animating TMPAnimator.

IAnimatorContext AnimatorContext { get; }

Property Value

IAnimatorContext

CustomData

The custom data object.

object CustomData { get; }

Property Value

object

SegmentData

Data about the animation segment.

SegmentData SegmentData { get; }

Property Value

SegmentData

State

The current state of the CharData, with the previous animations applied.

ICharDataState State { get; }

Property Value

ICharDataState

Methods

FinishAnimation(CharData)

Set the animation to be considered finished for the given character.

void FinishAnimation(CharData cData)

Parameters

cData CharData

Finished(int)

Check if the animation is considered finished for the character at the given index.

bool Finished(int index)

Parameters

index int

Returns

bool

Finished(CharData)

Check if the animation is considered finished for the given character.

bool Finished(CharData cData)

Parameters

cData CharData

Returns

bool