AnimationStateEvent
Dispatched to notify changes in an animation state's stat.
Inherited from Event.
Can be created using method new:
Lib.Away3D.Events.AnimatorStateEvent.new(type, animator, animationState, animationNode) |
Create a new AnimatorStateEvent object. |
type - The event type. String animator - The animation state object that is the subject of this event. IAnimator can be one of ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator animationState - The animation state. IAnimationState (AnimationStateBase) animationNode - The animation node inside the animation state from which the event originated. (AnimationNodeBase) |
Created AnimatorStateEvent object has properties:
animator |
[read-only] IAnimator can be one of ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator |
animationState |
[read-only] The animation state. IAnimationState (AnimationStateBase) |
animationNode |
[read-only] The animation node inside the animation state from which the event originated. (AnimationNodeBase) |
methods:
clone() |
[override] Clones the event. |
|
Static constants:
Lib.Away3D.Events.AnimatorStateEvent.PLAYBACK_COMPLETE |
Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline. |
Lib.Away3D.Events.AnimatorStateEvent.TRANSITION_COMPLETE |
|
Created with the Personal Edition of HelpNDoc: Free help authoring environment