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

mesh

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

transform?

Float32Array

Returns

void


animateMeshes

â–¸ animateMeshes(aniamtion, from, to, animate, onProgressUpdate?): void

Parameters

Name
Type

aniamtion

string

from

string

to

string

animate

boolean

onProgressUpdate?

() => void

Returns

void


computeBoundingBox

â–¸ computeBoundingBox(boxForMeasurements?, useMeshes?): void

Parameters

Name
Type

boxForMeasurements?

useMeshes?

boolean

Returns

void


deselect

â–¸ deselect(): void

Returns

void


getKernelPosition

â–¸ getKernelPosition(newParent): KernelVector3

Parameters

Name
Type

Returns

KernelVector3


getMeshById

â–¸ getMeshById(meshId): Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

Parameters

Name
Type

meshId

number

Returns

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>


hoverOff

â–¸ hoverOff(): void

Returns

void


hoverOn

â–¸ hoverOn(): void

Returns

void


isChild

â–¸ isChild(componentId): boolean

Parameters

Name
Type

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

Name
Type

mesh

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

Returns

void


removeMeshById

â–¸ removeMeshById(meshId): void

Parameters

Name
Type

meshId

number

Returns

void


replaceMeshes

â–¸ replaceMeshes(meshes): void

Parameters

Name
Type

meshes

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]

Returns

void


select

â–¸ select(): void

Returns

void

Last updated