Creates a material object from the specified SceneKit material object.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
A SceneKit material object.
A new material object.
SceneKit is a high-level framework for modeling, animating, and displaying 3D scenes. (For details, see SceneKit.) The
SCNMaterial class describes the intended surface appearance of a rendered 3D object, using a subset of the attributes of the Model I/O family of material objects. Use this method to convert a SceneKit material to a Model I/O representation, which you can then process or export.