parent
The parent object that contains this object.
Declaration
weak var parent: MDLObject? { get set }Discussion
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.
This property’s value is nil for the top-level objects in a MDLAsset instance.