Material.IDColor

This page contains reference documentation for the IDColor member.

Declaration

Color IDColor;

Examples

Examples are as follows:

Material editMaterial = new Material;

// Set Identification color parameter to yellow.

editMaterial.IDColor.SetRGB ( 255, 255, 128 );

// Set Identification color parameter to blue.

editMaterial.IDColor.R ( 0 );
editMaterial.IDColor.G ( 0 );
editMaterial.IDColor.B ( 255 );

Working Sample Code

For sample code: