Light.Ambient Property (Microsoft.DirectX.Direct3D)
Retrieves or sets the ambient color emitted by the light.
This member is a Color
structure.
Visual Basic Public Property Ambient As Color C# public Color Ambient { get; set; }
C++ public:
property ColorAmbient {
Colorget();
void set(Colorvalue);
}JScript public function get Ambient() : Color
public function set Ambient(Color);
System.Drawing.Color
This property is read/write.
A Colorstructure that represents the ambient color emitted by the light.
Exceptions
InvalidCallException The property value is invalid.
Show: