clear method
Implementation
Object3D clear() {
for (var i = 0; i < children.length; i++) {
var object = children[i];
object.parent = null;
object.dispatchEvent(_removedEvent);
}
children.length = 0;
return this;
}
Object3D clear() {
for (var i = 0; i < children.length; i++) {
var object = children[i];
object.parent = null;
object.dispatchEvent(_removedEvent);
}
children.length = 0;
return this;
}