Returns the material property with the specified name, for use with subscript syntax.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
name value of a material property in the material.
The material property with the specified name, or
nil if the material does not contain a material property with that name.
This method is equivalent to the
propertyNamed: method but allows for the use of subscript syntax for reading material properties. To write material properties to the material, use the
Accessing Material Properties with Subscript Syntax
The number of material properties in the material.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software