planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Methods
- addMesh
- clear
- clearReference
- deselect
- getBoundingBox
- getBounds
- getContainer
- getId
- getKernelObject
- getMesh
- getObject
- getObjectAsync
- getPlanElement
- getPosition
- getRotation
- getSize
- hide
- hidePreviewBox
- hoverOff
- hoverOn
- remove
- select
- setObject
- setTopView
- show
- toJSON
- update
# Constructors
# constructor
• new default(planObject
)
# Parameters
Name | Type |
---|---|
planObject | PlanObject |
# Overrides
# Methods
# addMesh
▸ addMesh(mesh
): void
# Parameters
Name | Type |
---|---|
mesh | Object3D <Object3DEventMap > |
# Returns
void
# Inherited from
# clear
▸ clear(): void
# Returns
void
# Inherited from
# clearReference
▸ clearReference(): void
# Returns
void
# Inherited from
# deselect
▸ deselect(): void
# Returns
void
# Overrides
# getBoundingBox
▸ getBoundingBox(): RoomleEventedMesh
# Returns
# Inherited from
# getBounds
▸ getBounds(): Box3
# Returns
Box3
# Inherited from
# 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
# getPlanElement
▸ getPlanElement(): PlanObject
# Returns
# Inherited from
# getPosition
▸ getPosition(): Vector3
# Returns
Vector3
# Inherited from
# getRotation
▸ getRotation(): number
# Returns
number
# Inherited from
# getSize
▸ getSize(): Vector3
# Returns
Vector3
# Overrides
# hide
▸ hide(): void
# Returns
void
# hidePreviewBox
▸ hidePreviewBox(): void
# Returns
void
# Inherited from
# hoverOff
▸ hoverOff(): void
# Returns
void
# Overrides
# hoverOn
▸ hoverOn(): void
# Returns
void
# Overrides
# remove
▸ remove(): void
# Returns
void
# Inherited from
# select
▸ select(): void
# Returns
void
# Overrides
# setObject
▸ setObject(object
): void
# Parameters
Name | Type |
---|---|
object | RoomleEventedObject3D |
# Returns
void
# Inherited from
# setTopView
▸ setTopView(enabled
): void
# Parameters
Name | Type |
---|---|
enabled | boolean |
# Returns
void
# Overrides
# show
▸ show(): void
# Returns
void
# toJSON
▸ toJSON(): Object
# Returns
Object
Name | Type |
---|---|
rootElementId | number |
# Inherited from
# update
▸ update(): void
# Returns
void