removeFromParent method

Object3D removeFromParent()

Implementation

Object3D removeFromParent() {
  var parent = this.parent;

  if (parent != null) {
    parent.remove(this);
  }

  return this;
}