RoomleConfigurator.Internal.RoomleComponent
configurator-core/src/roomle-configurator.internal.RoomleComponent
Hierarchy
Table of contents
Properties
Methods
Properties
animationValues
• Optional
animationValues: Map
<string
, string
>
boundingBox
• boundingBox: Box3
boundingBoxMesh
• boundingBoxMesh: RoomleEventedMesh
geometryChanged
• geometryChanged: boolean
hash
• hash: string
isChildPlanObject
• isChildPlanObject: boolean
isRootComponent
• isRootComponent: boolean
loadingMesh
• loadingMesh: Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
meshes
• meshes: RoomleEventedMesh
[]
parentObjectId
• parentObjectId: number
roomlePosition
• roomlePosition: KernelVector3
roomleRotation
• roomleRotation: KernelVector3
runtimeId
• runtimeId: number
Methods
addMesh
▸ addMesh(mesh
, transform?
): void
Parameters
mesh
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
transform?
Float32Array
Returns
void
animateMeshes
▸ animateMeshes(aniamtion
, from
, to
, animate
, onProgressUpdate?
): void
Parameters
aniamtion
string
from
string
to
string
animate
boolean
onProgressUpdate?
() => void
Returns
void
computeBoundingBox
▸ computeBoundingBox(boxForMeasurements?
, useMeshes?
): void
Parameters
boxForMeasurements?
useMeshes?
boolean
Returns
void
deselect
▸ deselect(): void
Returns
void
getKernelPosition
▸ getKernelPosition(newParent
): KernelVector3
Parameters
newParent
Returns
getMeshById
▸ getMeshById(meshId
): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
Parameters
meshId
number
Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
hoverOff
▸ hoverOff(): void
Returns
void