LoadedGameboardPlacementObject
Defined in: packages/declarative-hex-worlds/src/three/three.ts:231
Loaded Three.js object plus gameboard metadata and animation state.
Properties
Section titled “Properties”activeClip?
Section titled “activeClip?”
optionalactiveClip?:AnimationClip
Defined in: packages/declarative-hex-worlds/src/three/three.ts:247
Selected active clip.
animationAction?
Section titled “animationAction?”
optionalanimationAction?:AnimationAction
Defined in: packages/declarative-hex-worlds/src/three/three.ts:251
Action created for the active clip.
animationUrl?
Section titled “animationUrl?”
optionalanimationUrl?:string
Defined in: packages/declarative-hex-worlds/src/three/three.ts:241
Resolved animation URL, when separate from the model.
assetId
Section titled “assetId”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.
mixer?
Section titled “mixer?”
optionalmixer?:AnimationMixer<AnimationMixerEventMap>
Defined in: packages/declarative-hex-worlds/src/three/three.ts:249
Animation mixer bound to the loaded object.
modelUrl
Section titled “modelUrl”modelUrl:
string
Defined in: packages/declarative-hex-worlds/src/three/three.ts:239
Resolved model URL.
object
Section titled “object”object:
Object3D
Defined in: packages/declarative-hex-worlds/src/three/three.ts:237
Three.js object added to the scene.
placementId
Section titled “placementId”placementId:
string
Defined in: packages/declarative-hex-worlds/src/three/three.ts:233
Placement id this object represents.
transform
Section titled “transform”transform:
AssetTransform
Defined in: packages/declarative-hex-worlds/src/three/three.ts:243
Last transform applied to the object.