BakedPose
A cached pose of one variant: what was baked for a (variant, damage, clip, frame, heading) key.
Defined in: engine/src/animation/crowd.ts:102
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
instance? | object | Instances only: the pose's model id and anchor. | engine/src/animation/crowd.ts:108 |
instance.anchor | Vec3 | - | engine/src/animation/crowd.ts:108 |
instance.id | number | - | engine/src/animation/crowd.ts:108 |
matrices | Float32Array | Bone matrices of the pose (see poseMatrices), for hit tests against bones. | engine/src/animation/crowd.ts:110 |
model? | EntityModel | Only with keepModels. | engine/src/animation/crowd.ts:104 |
sprite? | Sprite | Stamping only. | engine/src/animation/crowd.ts:106 |
yaw | number | The yaw the pose was baked at, radians: the heading bucket, or 0 for instances. | engine/src/animation/crowd.ts:112 |