Interface: EntityAnimationOptions
Defined in: packages/minerender/src/entity/scene/EntityAnimationPlayer.ts:8
Playback settings passed to EntityObject.playAnimation, EntityObject.playAnimations, or EntityAnimationPlayer.play.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
loop? | boolean | Overrides the animation's own loop flag. | packages/minerender/src/entity/scene/EntityAnimationPlayer.ts:10 |
speed? | number | Playback rate applied to advanced time; defaults to 1. | packages/minerender/src/entity/scene/EntityAnimationPlayer.ts:12 |
time? | number | Start time in seconds; defaults to 0. | packages/minerender/src/entity/scene/EntityAnimationPlayer.ts:14 |
weights? | readonly number[] | Nonnegative finite weights in clip order; defaults to 1 per clip. Offsets add without normalizing weights. | packages/minerender/src/entity/scene/EntityAnimationPlayer.ts:16 |