Constructor
new SingleBlockInstance(reporter, settings)
Parameters:
| Name |
Type |
Description |
reporter |
Reporter
|
|
settings |
Object
|
Properties
| Name |
Type |
Attributes |
Description |
id |
UUID
|
<optional>
|
|
blockInstance |
BlockInstance
|
|
|
loader |
ComponentLoader
|
|
|
position |
Vector3
|
<optional>
|
|
quaternion |
Quaternion
|
<optional>
|
|
|
- Source:
Extends
Members
body :Group
Type:
- Overrides:
- Source:
visible :Boolean
Type:
- Overrides:
- Source:
Methods
clearBody()
Removes all children from the body Group and disposes their
Three.js resources (geometries, materials, textures) to prevent
GPU memory leaks.
- Overrides:
- Source:
(async) onStateCursorMoved(selectedState)
Parameters:
| Name |
Type |
Description |
selectedState |
Object
|
|
- Source:
(async) updateBody(newContent)
Parameters:
| Name |
Type |
Description |
newContent |
Object3D
|
|
- Overrides:
- Source: