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
Name | Type |
---|---|
|
|
|
|
Returns
void
animateMeshes
▸ animateMeshes(aniamtion
, from
, to
, animate
, onProgressUpdate?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
| () => |
Returns
void
computeBoundingBox
▸ computeBoundingBox(boxForMeasurements?
, useMeshes?
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
deselect
▸ deselect(): void
Returns
void
getKernelPosition
▸ getKernelPosition(newParent
): KernelVector3
Parameters
Name | Type |
---|---|
|
Returns
getMeshById
▸ getMeshById(meshId
): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
Parameters
Name | Type |
---|---|
|
|
Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
hoverOff
▸ hoverOff(): void
Returns
void
hoverOn
▸ hoverOn(): void
Returns
void
isChild
▸ isChild(componentId
): boolean
Parameters
Name | Type |
---|---|
|
|
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
Name | Type |
---|---|
|
|
Returns
void
removeMeshById
▸ removeMeshById(meshId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
replaceMeshes
▸ replaceMeshes(meshes
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
select
▸ select(): void
Returns
void
Last updated