planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Accessors
# Methods
- addMesh
- clear
- clearReference
- deselect
- getBoundingBox
- getBounds
- getContainer
- getId
- getKernelObject
- getMesh
- getObject
- getObjectAsync
- getPlanElement
- getPosition
- getRotation
- getSize
- getWallDimension
- hide
- hidePreviewBox
- hoverOff
- hoverOn
- remove
- select
- setObject
- setTopView
- show
- toJSON
- update
# Constructors
# constructor
• new default(planObject
)
# Parameters
Name | Type |
---|---|
planObject | PlanObject |
# Overrides
# Accessors
# isSelected
• get
isSelected(): boolean
# Returns
boolean
# Methods
# addMesh
▸ addMesh(mesh
): void
# Parameters
Name | Type |
---|---|
mesh | Mesh <BufferGeometry <NormalBufferAttributes >, Material | Material [], Object3DEventMap > |
# Returns
void
# Overrides
# 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(): KernelWall
# Returns
# Overrides
# 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
# Inherited from
# getWallDimension
▸ getWallDimension(zoomFactor
, clientWidth
, clientHeight
): WallDimension
# Parameters
Name | Type |
---|---|
zoomFactor | number |
clientWidth | number |
clientHeight | number |
# Returns
# hide
▸ hide(): void
# Returns
void
# hidePreviewBox
▸ hidePreviewBox(): void
# Returns
void
# Inherited from
# hoverOff
▸ hoverOff(): void
# Returns
void
# Inherited from
# hoverOn
▸ hoverOn(): void
# Returns
void
# Inherited from
# 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