Enumeration Case

MDLMaterialPropertyType.float

The material property’s value is a floating-point scalar.

Declaration

case float = 5

Discussion

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