planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Methods
- addChildEntityComponent
- addMesh
- addRootComponent
- clear
- clearReference
- deselect
- failConstruction
- finishConstruction
- getBoundingBox
- getBounds
- getConfigurationRuntimeId
- getConstructionElementMeasurements
- getContainer
- getId
- getKernelObject
- getMesh
- getObject
- getObjectAsync
- getObjectMeasurements
- getPlanElement
- getPlanObject
- getPosition
- getRootComponentId
- getRootComponentRuntimeId
- getRotation
- getSize
- getTopViewContainer
- 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
# Inherited from
default.addChildEntityComponent
# 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
# Inherited from
# 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
>
# Inherited from
# finishConstruction
▸ finishConstruction(): Promise
<void
>
# Returns
Promise
<void
>
# Inherited from
# getBoundingBox
▸ getBoundingBox(): RoomleEventedMesh
# Returns
# Inherited from
# getBounds
▸ getBounds(): Box3
# Returns
Box3
# Inherited from
# getConfigurationRuntimeId
▸ getConfigurationRuntimeId(): number
# Returns
number
# Inherited from
default.getConfigurationRuntimeId
# getConstructionElementMeasurements
▸ getConstructionElementMeasurements(zoomFactor
, clientWidth
, clientHeight
): ConstructionMeasurements
# Parameters
Name | Type |
---|---|
zoomFactor | number |
clientWidth | number |
clientHeight | number |
# Returns
# 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(): ConstructionPlanObject
# Returns
# Overrides
# getPlanObject
▸ getPlanObject(): PlanObject
# Returns
# Inherited from
# getPosition
▸ getPosition(): Vector3
# Returns
Vector3
# Inherited from
# getRootComponentId
▸ getRootComponentId(): number
# Returns
number
# Inherited from
# getRootComponentRuntimeId
▸ getRootComponentRuntimeId(): number
# Returns
number
# Inherited from
default.getRootComponentRuntimeId
# getRotation
▸ getRotation(): number
# Returns
number
# Inherited from
# getSize
▸ getSize(): Vector3
# Returns
Vector3
# Inherited from
# getTopViewContainer
▸ getTopViewContainer(): default
# Returns
# 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
): Promise
<void
>
# Parameters
Name | Type |
---|---|
enabled | boolean |
# Returns
Promise
<void
>
# Overrides
# toJSON
▸ toJSON(): Object
# Returns
Object
Name | Type |
---|---|
rootComponentRuntimeId | number |
rootElementId | number |
# Inherited from
# update
▸ update(): void
# Returns
void