import { AnimationClipCreator } from "./AnimationClipCreator"; import type { AnimationMixer, Object3D, AnimationBlendMode, AnimationAction, AnimationActionLoopStyles } from "three"; declare module "./AnimationClipCreator" { interface AnimationCreatorOptions { loop?: AnimationActionLoopStyles | null; repetitions?: number | null; } } export declare class AnimationActionCreator extends AnimationClipCreator { constructor(mixer: AnimationMixer, root?: Object3D | null); protected _mixer: AnimationMixer; get mixer(): AnimationMixer; set mixer(value: AnimationMixer); protected _root?: Object3D | null; /** * 动画action作用的根对象 */ get root(): Object3D | null | undefined; set root(value: Object3D | null | undefined); /** * 循环模式 */ get loop(): any; set loop(value: any); /** * 循环次数 */ get repetitions(): any; set repetitions(value: any); clipChanged(): void; actionChanged(): void; protected _action?: AnimationAction | null; /** * 获取 AnimationAction */ get action(): AnimationAction; /** * 创建 AnimationAction * @param root * @param blendMode * @param mixer * @returns */ createAction(root?: Object3D | null, blendMode?: AnimationBlendMode | null, mixer?: AnimationMixer | null): AnimationAction; } //# sourceMappingURL=AnimationActionCreator.d.ts.map