Table of Contents

Class ReadOnlyAnimationContext

Namespace
TMPEffects.TMPAnimations
Assembly
TMPEffects.dll
public class ReadOnlyAnimationContext : IAnimationContext
Inheritance
ReadOnlyAnimationContext
Implements
Inherited Members

Constructors

ReadOnlyAnimationContext(AnimationContext)

public ReadOnlyAnimationContext(AnimationContext context)

Parameters

context AnimationContext

Properties

AnimatorContext

The context of the animating TMPAnimator.

public IAnimatorContext AnimatorContext { get; }

Property Value

IAnimatorContext

CustomData

The custom data object.

public object CustomData { get; }

Property Value

object

SegmentData

Data about the animation segment.

public SegmentData SegmentData { get; }

Property Value

SegmentData

State

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

public ICharDataState State { get; }

Property Value

ICharDataState

Methods

FinishAnimation(CharData)

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

public void FinishAnimation(CharData cData)

Parameters

cData CharData

Finished(int)

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

public bool Finished(int index)

Parameters

index int

Returns

bool

Finished(CharData)

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

public bool Finished(CharData cData)

Parameters

cData CharData

Returns

bool