clear method

Object3D clear()
inherited

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;
}