| Package | away3d.events |
| Class | public class AnimationStateEvent |
| Inheritance | AnimationStateEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| animationNode : AnimationNodeBase [read-only]
The animation node inside the animation state from which the event originated. | AnimationStateEvent | ||
| animationState : IAnimationState [read-only]
The animation state object that is the subject of this event. | AnimationStateEvent | ||
| animator : IAnimator [read-only]
The animator object that is the subject of this event. | AnimationStateEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AnimationStateEvent(type:String, animator:IAnimator, animationState:IAnimationState, animationNode:AnimationNodeBase)
Create a new AnimatonStateEvent
| AnimationStateEvent | ||
clone():Event [override]
Clones the event. | AnimationStateEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| PLAYBACK_COMPLETE : String = playbackComplete [static]
Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline. | AnimationStateEvent | ||
| TRANSITION_COMPLETE : String = transitionComplete [static] | AnimationStateEvent | ||
| animationNode | property |
animationNode:AnimationNodeBase [read-only] The animation node inside the animation state from which the event originated.
public function get animationNode():AnimationNodeBase| animationState | property |
animationState:IAnimationState [read-only] The animation state object that is the subject of this event.
public function get animationState():IAnimationState| animator | property |
animator:IAnimator [read-only] The animator object that is the subject of this event.
public function get animator():IAnimator| AnimationStateEvent | () | Constructor |
public function AnimationStateEvent(type:String, animator:IAnimator, animationState:IAnimationState, animationNode:AnimationNodeBase)
Create a new AnimatonStateEvent
type:String — The event type.
| |
animator:IAnimator — The animation state object that is the subject of this event.
| |
animationState:IAnimationState — The animation node inside the animation state from which the event originated.
| |
animationNode:AnimationNodeBase |
| clone | () | method |
override public function clone():EventClones the event.
ReturnsEvent — An exact duplicate of the current object.
|
| PLAYBACK_COMPLETE | Constant |
public static const PLAYBACK_COMPLETE:String = playbackCompleteDispatched when a non-looping clip node inside an animation state reaches the end of its timeline.
| TRANSITION_COMPLETE | Constant |
public static const TRANSITION_COMPLETE:String = transitionComplete