Skip to content

PlayAnimOpts

Defined in: packages/threeplay/src/plugins/assets/types.ts:39

Options of playAnim().

optional fade?: number

Defined in: packages/threeplay/src/plugins/assets/types.ts:45

Cross-fade seconds from the current animation (default 0.2).


optional loop?: boolean

Defined in: packages/threeplay/src/plugins/assets/types.ts:41

Repeat forever (default true). A non-looping animation holds its last pose and fires animEnd.


optional speed?: number

Defined in: packages/threeplay/src/plugins/assets/types.ts:43

Playback speed multiplier (default 1).