OCP Dienste :
boxelyRenderer
>
scene
> destroyBox
method
destroyBox
bool destroyBox(
box box
);
Argumente
box
The box to destroy.
Zurückgegebener Wert
bool
This method will remove the given box from the DOM and delete it.
function onSample() { var box = scene.getBoxById("myBox"); if (box) { scene.destroyBox(box); } }