UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

78 lines 1.65 kB
export class AnimationTransition { /** * * @type {AnimationTransitionDefinition} */ def: AnimationTransitionDefinition; /** * * @type {AnimationState} */ source: AnimationState; /** * * @type {AnimationState} */ target: AnimationState; /** * * @type {AnimationGraph} */ graph: AnimationGraph; /** * Execution time of the transition, starts at 0 when transition is started * @type {number} */ time: number; /** * * @type {BlendStateMatrix} */ blendState: BlendStateMatrix; /** * * @param {AnimationTransition} other * @returns {boolean} */ equals(other: AnimationTransition): boolean; /** * @returns {number} */ hash(): number; initialize(): void; start(): void; /** * * @return {number} */ computeNormalizedTime(): number; /** * * @return {boolean} */ isFinished(): boolean; updateBlendsState(): void; /** * * @param {number} timeDelta in seconds */ tick(timeDelta: number): void; /** * Perform transition */ transition(): void; /** * * @param {number} entity * @param {EntityComponentDataset} ecd */ link(entity: number, ecd: EntityComponentDataset): void; /** * * @param {number} entity * @param {EntityComponentDataset} ecd */ unlink(entity: number, ecd: EntityComponentDataset): void; } import { BlendStateMatrix } from "../blending/BlendStateMatrix.js"; //# sourceMappingURL=AnimationTransition.d.ts.map