Returns the first material attached to the geometry with the specified name.
- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
The name of the material to be retrieved.
A material object with the specified name.
If a geometry has multiple materials attached with the same name, this method returns the first according to the order of the