planner-core/src/roomle-planner.
# Hierarchy
# Table of contents
# Constructors
# Methods
- addChildEntityComponent
- addMesh
- addRootComponent
- clear
- clearReference
- deselect
- failConstruction
- finishConstruction
- getBoundingBox
- getBounds
- getConfigurationRuntimeId
- getContainer
- getId
- getKernelObject
- getMesh
- getObject
- getObjectAsync
- getObjectMeasurements
- getPlanElement
- getPlanObject
- getPosition
- getRootComponentId
- getRootComponentRuntimeId
- getRotation
- getSize
- hidePreviewBox
- hoverOff
- hoverOn
- isInitDone
- remove
- select
- setObject
- setTopView
- toJSON
- update
# Constructors
# constructor
• new default(planObject
)
# Parameters
Name | Type |
---|---|
planObject | PlanObject |
# Overrides
# Methods
# addChildEntityComponent
▸ addChildEntityComponent(component
): void
# Parameters
Name | Type |
---|---|
component | RoomleComponent |
# Returns
void
# addMesh
▸ addMesh(mesh
): void
# Parameters
Name | Type |
---|---|
mesh | Object3D <Object3DEventMap > |
# Returns
void
# Inherited from
# addRootComponent
▸ addRootComponent(component
): void
# Parameters
Name | Type |
---|---|
component | RoomleComponent |
# Returns
void
# clear
▸ clear(): void
# Returns
void
# Inherited from
# clearReference
▸ clearReference(): void
# Returns
void
# Inherited from
# deselect
▸ deselect(): void
# Returns
void
# Inherited from
# failConstruction
▸ failConstruction(): Promise
<void
>
# Returns
Promise
<void
>
# finishConstruction
▸ finishConstruction(): Promise
<void
>
# Returns
Promise
<void
>
# getBoundingBox
▸ getBoundingBox(): RoomleEventedMesh
# Returns
# Inherited from
# getBounds
▸ getBounds(): Box3
# Returns
Box3
# Inherited from
# getConfigurationRuntimeId
▸ getConfigurationRuntimeId(): number
# Returns
number
# getContainer
▸ getContainer(): Object3D
<Object3DEventMap
>
# Returns
Object3D
<Object3DEventMap
>
# Inherited from
# getId
▸ getId(): number
# Returns
number
# Inherited from
# getKernelObject
▸ getKernelObject(): KernelObject
# Returns
# Inherited from
# getMesh
▸ getMesh(material
): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Parameters
Name | Type |
---|---|
material | any |
# Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Inherited from
# getObject
▸ getObject(): RoomleEventedObject3D
# Returns
# Inherited from
# getObjectAsync
▸ getObjectAsync(): Promise
<Object3D
<Object3DEventMap
>>
# Returns
Promise
<Object3D
<Object3DEventMap
>>
# Inherited from
# getObjectMeasurements
▸ getObjectMeasurements(zoomFactor
, clientWidth
, clientHeight
): ObjectMeasurements
# Parameters
Name | Type |
---|---|
zoomFactor | number |
clientWidth | number |
clientHeight | number |
# Returns
# Inherited from
# getPlanElement
▸ getPlanElement(): PlanObject
# Returns
# Inherited from
# getPlanObject
▸ getPlanObject(): PlanObject
# Returns
# Inherited from
# getPosition
▸ getPosition(): Vector3
# Returns
Vector3
# Inherited from
# getRootComponentId
▸ getRootComponentId(): number
# Returns
number
# getRootComponentRuntimeId
▸ getRootComponentRuntimeId(): number
# Returns
number
# getRotation
▸ getRotation(): number
# Returns
number
# Inherited from
# getSize
▸ getSize(): Vector3
# Returns
Vector3
# Inherited from
# hidePreviewBox
▸ hidePreviewBox(): void
# Returns
void
# Inherited from
# hoverOff
▸ hoverOff(): void
# Returns
void
# Inherited from
# hoverOn
▸ hoverOn(): void
# Returns
void
# Inherited from
# isInitDone
▸ isInitDone(): Promise
<void
>
# Returns
Promise
<void
>
# Inherited from
# remove
▸ remove(): void
# Returns
void
# Inherited from
# select
▸ select(): void
# Returns
void
# Inherited from
# setObject
▸ setObject(object
): void
# Parameters
Name | Type |
---|---|
object | RoomleEventedObject3D |
# Returns
void
# Inherited from
# setTopView
▸ setTopView(enabled
): void
# Parameters
Name | Type |
---|---|
enabled | boolean |
# Returns
void
# Inherited from
# toJSON
▸ toJSON(): Object
# Returns
Object
Name | Type |
---|---|
rootComponentRuntimeId | number |
rootElementId | number |
# Overrides
# update
▸ update(): void
# Returns
void