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
hoverOn
▸ hoverOn(): void
Returns
void
isChild
▸ isChild(componentId): boolean
Parameters
componentId
number
Returns
boolean
loading
▸ loading(): void
Returns
void
loadingFinished
▸ loadingFinished(): void
Returns
void
recursiveMeshes
▸ recursiveMeshes(): Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]
Returns
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]
removeAllMeshes
▸ removeAllMeshes(): void
Returns
void
removeMesh
▸ removeMesh(mesh): void
Parameters
mesh
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
Returns
void
removeMeshById
▸ removeMeshById(meshId): void
Parameters
meshId
number
Returns
void
replaceMeshes
▸ replaceMeshes(meshes): void
Parameters
meshes
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]
Returns
void
select
▸ select(): void
Returns
void
Last updated