remove method

Object3D remove(
  1. Object3D object
)
inherited

Implementation

Object3D remove(Object3D object) {
  var index = children.indexOf(object);

  if (index != -1) {
    object.parent = null;
    children.removeAt(index);

    object.dispatchEvent(_removedEvent);
  }

  return this;
}