This page contains reference documentation for the AmbientColor member.
Color AmbientColor;
Examples are as follows:
Material editMaterial = new Material; // Set Ambient Color parameter to dark gray. editMaterial.AmbientColor.SetRGB ( 64, 64, 64 ); // Set Ambient Color parameter to brown. editMaterial.AmbientColor.R ( 64 ); editMaterial.AmbientColor.G ( 32 ); editMaterial.AmbientColor.B ( 16 );
For sample code: