Returns the top-level object at the specified index in the asset.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
An index in the asset’s list of top-level objects; between zero and the value of the
The object at the specified index.
An asset contains one or more top-level objects (instances of the
MDLObject class or one of its subclasses, such as
MDLMesh), each of which may contain a hierarchy of child objects.
Working with Asset Content
The number of top-level objects in the asset.
Adds the specified object to the asset’s list of top-level objects.
Removes the specified object from the asset’s list of top-level objects.
The minimum region entirely enclosing the asset’s contents.
Returns the minimum region entirely enclosing the asset’s contents at the specified time sample.
The URL from which the asset was loaded, if available.
An object responsible for allocating mesh vertex data loaded from the asset.
The description of the vertex data format to be used for loading mesh data from the asset.
An array of objects that can be reused in the asset's object hierarchy through instancing.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software