UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

64 lines 1.38 kB
export class AnimationClip { /** * * @param j * @returns {AnimationClip} */ static fromJSON(j: any): AnimationClip; name: ObservedString; repeatCount: ObservedInteger; /** * * @type {Vector1} */ weight: Vector1; /** * * @type {Vector1} */ timeScale: Vector1; /** * * @type {number} */ flags: number; /** * * @param {AnimationClip} other * @returns {boolean} */ equals(other: AnimationClip): boolean; /** * * @returns {number} */ hash(): number; /** * * @param {number|AnimationClipFlag} v * @returns {boolean} */ getFlag(v: number | AnimationClipFlag): boolean; fromJSON(json: any): void; toJSON(): { name: string; repeatCount: number; weight: number; timeScale: number; flags: number; }; /** * * @param {BinaryBuffer} buffer */ toBinaryBuffer(buffer: BinaryBuffer): void; /** * * @param {BinaryBuffer} buffer */ fromBinaryBuffer(buffer: BinaryBuffer): void; } import ObservedString from "../../../core/model/ObservedString.js"; import ObservedInteger from "../../../core/model/ObservedInteger.js"; import Vector1 from "../../../core/geom/Vector1.js"; //# sourceMappingURL=AnimationClip.d.ts.map