Adds a child object to this object, creating a container for the object’s children if necessary.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
The child object to add.
Many asset formats describe a hierarchy of transforms that model the spatial relationships between meshes, lights, and cameras in the asset. In such formats, hierarchic transforms are
MDLObject instances whose
children property references the objects affected by the transform—and those objects can be other
MDLObject instances with children of their own.