Dispatched to notify changes in an animation state's state.

Static variables

@:value("playbackComplete")staticinlineread onlyPLAYBACK_COMPLETE:String = "playbackComplete"

Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline.

@:value("transitionComplete")staticinlineread onlyTRANSITION_COMPLETE:String = "transitionComplete"

Constructor

new(type:String, animator:IAnimator, animationState:IAnimationState, animationNode:AnimationNodeBase)

Create a new AnimatonStateEvent

Parameters:

type

The event type.

animator

The animation state object that is the subject of this event.

animationNode

The animation node inside the animation state from which the event originated.

Variables

Methods

clone():Event

Clones the event.

Returns:

An exact duplicate of the current object.