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
var url: URL?
The URL from which the asset was loaded, if available.
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