Methods
_deleteFromScene(scene, model)
Remove an object from the scene and clean up memory
- Source:
Parameters:
Name | Type | Description |
---|---|---|
scene |
THREE.Scene
|
Scene containing the model |
model |
THREE.Object3D
|
The geometry to remove |
_removeGeometries(obj)
Remove the geometry objects from the THREE registry so they can be garbage collected
- Source:
Parameters:
Name | Type | Description |
---|---|---|
obj |
THREE.Object3D
|
The object being removed |