Removes the entity from its current parent or from the scene if it is a root entity.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
A Boolean that you set to
trueto preserve the entity’s world transform, or
falseto preserve its relative transform. Use
truewhen you want a model to keep its effective location and size within a scene.
This method behaves like the
set method with a value of
nil for the
parent parameter, except that method has no effect on root entities. A root entity is one that is stored in a scene’s
children collections of any modified parent entities are automatically updated as well.