The first material attached to the geometry.
- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
Calling this convenience method is equivalent to retrieving the first object from the geometry’s
materials array. This property’s value is
nil if the geometry has no attached materials.