An array of objects that can be reused in the asset's object hierarchy through instancing.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Model I/O
Declaration
var masters: MDLObject Container Component { get set }
Discussion
Some asset formats supported by Model I/O provide instancing, a feature where the asset provides a single definition for an object, then can reuse that definition at multiple points in a scene. For example, an asset describing a scene of a table and chairs could contain mesh and material data for only one chair, then use instancing to place several of the same chair around the table.
If an object loaded from an asset is an instance of one of that asset's master objects, that object's instance
property refers to the master object.