ComponentManager.destroy() method
Removes the given component from the space.
Signature:
destroy(component: Component3D): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
component |
The component to remove. |
boolean
true if the component was successfully removed, false otherwise.