@awayjs/graphics
Version:
AwayJS graphics classes
45 lines • 1.56 kB
TypeScript
import { Vector3D } from '@awayjs/core';
import { AnimationNodeBase } from '@awayjs/renderer';
/**
* Provides an abstract base class for nodes with time-based animation data in an animation blend tree.
*/
export declare class AnimationClipNodeBase extends AnimationNodeBase {
_pLooping: boolean;
_pTotalDuration: number;
_pLastFrame: number;
_pStitchDirty: boolean;
_pStitchFinalFrame: boolean;
_pNumFrames: number;
_pDurations: Array<number>;
_pTotalDelta: Vector3D;
fixedFrameRate: boolean;
/**
* Determines whether the contents of the animation node have looping characteristics enabled.
*/
get looping(): boolean;
set looping(value: boolean);
/**
* Defines if looping content blends the final frame of animation data with the first (true) or works on the
* assumption that both first and last frames are identical (false). Defaults to false.
*/
get stitchFinalFrame(): boolean;
set stitchFinalFrame(value: boolean);
get totalDuration(): number;
get totalDelta(): Vector3D;
get lastFrame(): number;
/**
* Returns a vector of time values representing the duration (in milliseconds) of each animation frame in the clip.
*/
get durations(): Array<number>;
/**
* Creates a new <code>AnimationClipNodeBase</code> object.
*/
constructor();
/**
* Updates the node's final frame stitch state.
*
* @see #stitchFinalFrame
*/
_pUpdateStitch(): void;
}
//# sourceMappingURL=AnimationClipNodeBase.d.ts.map