@awayjs/graphics
Version:
AwayJS graphics classes
39 lines • 1.42 kB
TypeScript
import { SkeletonPose } from '../data/SkeletonPose';
import { SkeletonClipState } from '../states/SkeletonClipState';
import { AnimatorBase } from '../AnimatorBase';
import { AnimationClipNodeBase } from './AnimationClipNodeBase';
/**
* A skeleton animation node containing time-based animation data as individual skeleton poses.
*/
export declare class SkeletonClipNode extends AnimationClipNodeBase {
private _frames;
/**
* Determines whether to use SLERP equations (true) or LERP equations (false) in the calculation
* of the output skeleton pose. Defaults to false.
*/
highQuality: boolean;
/**
* Returns a vector of skeleton poses representing the pose of each animation frame in the clip.
*/
get frames(): Array<SkeletonPose>;
/**
* Creates a new <code>SkeletonClipNode</code> object.
*/
constructor();
/**
* Adds a skeleton pose frame to the internal timeline of the animation node.
*
* @param skeletonPose The skeleton pose object to add to the timeline of the node.
* @param duration The specified duration of the frame in milliseconds.
*/
addFrame(skeletonPose: SkeletonPose, duration: number): void;
/**
* @inheritDoc
*/
getAnimationState(animator: AnimatorBase): SkeletonClipState;
/**
* @inheritDoc
*/
_pUpdateStitch(): void;
}
//# sourceMappingURL=SkeletonClipNode.d.ts.map