Skip to content

AccessoryAttachment

Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:25

An accessory attached to a character model at a named node/bone.

readonly assetId: string

Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:29

Asset id of the accessory model (resolved through the normal asset source).


readonly id: string

Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:27

Stable id for this attachment (for diffing/removal).


readonly node: string

Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:34

Name of the target node/bone in the character’s skeleton (e.g. Head, HandR). The three binding looks this up via getObjectByName.


readonly optional transform?: AccessoryLocalTransform

Defined in: packages/declarative-hex-worlds/src/accessories/accessories.ts:36

Local transform relative to the attachment node.