Skip to content

AccessoryAttachmentResult

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

Result of attaching an accessory — the node it parented to, or a miss.

readonly attached: boolean

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

True if the target node was found and the accessory parented to it.


readonly id: string

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


readonly optional node?: Object3D<Object3DEventMap>

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

The node the accessory attached to (undefined on a miss).