Interface: EntityAnimation
Defined in: packages/minerender/src/entity/EntityAnimation.ts:11
A clip of pose offsets, played with EntityObject.playAnimation or sampled directly.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bones | Record<string, EntityAnimationBone> | Part name anywhere in a layer; root is the layer's root part. | packages/minerender/src/entity/EntityAnimation.ts:18 |
layer? | string | Geometry layer targeted by this clip; defaults to main. A main clip also poses selected layers without their own clip. | packages/minerender/src/entity/EntityAnimation.ts:16 |
length | number | Seconds. | packages/minerender/src/entity/EntityAnimation.ts:13 |
loop | boolean | - | packages/minerender/src/entity/EntityAnimation.ts:14 |