import { EventBase } from '@awayjs/core'; import { AnimationNodeBase } from '@awayjs/renderer'; import { AnimatorBase } from '../animators/AnimatorBase'; import { IAnimationState } from '../animators/states/IAnimationState'; /** * Dispatched to notify changes in an animation state's state. */ export declare class AnimationStateEvent extends EventBase { /** * Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline. */ static PLAYBACK_COMPLETE: string; static TRANSITION_COMPLETE: string; private _animator; private _animationState; private _animationNode; /** * Create a new AnimatonStateEvent * * @param type The event type. * @param animator The animation state object that is the subject of this event. * @param animationNode The animation node inside the animation state from which the event originated. */ constructor(type: string, animator: AnimatorBase, animationState: IAnimationState, animationNode: AnimationNodeBase); /** * The animator object that is the subject of this event. */ get animator(): AnimatorBase; /** * The animation state object that is the subject of this event. */ get animationState(): IAnimationState; /** * The animation node inside the animation state from which the event originated. */ get animationNode(): AnimationNodeBase; /** * Clones the event. * * @return An exact duplicate of the current object. */ clone(): AnimationStateEvent; } //# sourceMappingURL=AnimationStateEvent.d.ts.map