IVertexMaterial.SetColor

IVertexMaterial.SetColor method

Sets a color attribute.

⚠️ USE ONLY ON UNBOXED VALUES ⚠️

public void SetColor(int setIndex, Vector4 color)
ParameterTypeDescription
setIndexInt32An index from 0 to MaxColors.
colorVector4A Vector4 value in the range of 0 to 1

See Also