Skip to content

LoadedGameboardPlacementObject

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

Loaded Three.js object plus gameboard metadata and animation state.

optional activeClip?: AnimationClip

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

Selected active clip.


optional animationAction?: AnimationAction

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

Action created for the active clip.


optional animationUrl?: string

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

Resolved animation URL, when separate from the model.


assetId: string

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

Asset id this object was loaded from.


clips: readonly AnimationClip[]

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

Available animation clips from model and optional animation source.


optional mixer?: AnimationMixer<AnimationMixerEventMap>

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

Animation mixer bound to the loaded object.


modelUrl: string

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

Resolved model URL.


object: Object3D

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

Three.js object added to the scene.


placementId: string

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

Placement id this object represents.


transform: AssetTransform

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

Last transform applied to the object.