Enumeration Case

MDLMaterialPropertyTypeFloat2

The material property’s value is a 2-component floating-point vector.

Declaration

MDLMaterialPropertyTypeFloat2

Discussion

Use the float2Value property to access the material property’s value.