Share via


ColorMaterial.VertexMix Property

Definition

How much the vertex color is mixed into the final color. In [0..1] range.

public:
 property float VertexMix { float get(); void set(float value); };
public float VertexMix { get; set; }
member this.VertexMix : single with get, set
Public Property VertexMix As Single

Property Value

Remarks

If the mesh has vertex colors, those colors can be multiplied into the final color. This option defines how much influence the vertex colors will have. A value of 0.0 means that the vertex color doesn't contribute to the output at all. At 1.0 the vertex colors are fully multiplied into the albedo color.

A InvalidParam error occurs if the value is outside [0..1] range.

Applies to