init(name:semantic:float3:)
Initializes a material property with a 3-component vector value.
Declaration
convenience init(name: String, semantic: MDLMaterialSemantic, float3 value: vector_float3)Parameters
Return Value
A new material property object whose type property is MDLMaterialPropertyType.float3.
Discussion
A 3-component vector can also be used to store RGB color values. In this case, color components should be interpreted using the Rec. 709 color space standard.