Returns the material property at the specified index in the material, for use with subscript syntax.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
An index in the material’s list of material properties; must be less than the value of
The material property at the specified index.
The ordering of material properties in a material is arbitrary, but you can use this method (together with the count property) to iterate through the material’s complete list of material properties. You can also iterate through material properties using Fast Enumeration.