Creates a light from the specified Model I/O light object.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
A Model I/O light object.
A new light object.
The Model I/O framework provides universal support for import, export, description, and processing of several 3D asset file formats and related resources. (For details, see Model I/O.) The
MDLLight class is a generic description of a light source in a scene, supporting a superset of the attributes described by the