removeFromParent method
Removes this object from its current parent.
Implementation
Object3D removeFromParent() {
final parent = this.parent;
if (parent != null) {
parent.remove(this);
}
return this;
}
Removes this object from its current parent.
Object3D removeFromParent() {
final parent = this.parent;
if (parent != null) {
parent.remove(this);
}
return this;
}