ComponentManager.destroy() method

Removes the given component from the space.

Signature:

destroy(component: Component3D): boolean;

Parameters

Parameter

Type

Description

component

Component3D

The component to remove.

**Returns:**

boolean

true if the component was successfully removed, false otherwise.