Light.Ambient Property

Language:

Retrieves or sets the ambient color emitted by the light.

This member is a Color Leave Site structure.

Definition

Visual Basic Public Property Ambient As Color
C# public Color Ambient { get; set; }
C++ public:
property Color Ambient {
        Color get();
        void set(Color value);
}
JScript public function get Ambient() : Color
public function set Ambient(Color);

Property Value

System.Drawing.Color
A Color Leave Site structure that represents the ambient color emitted by the light.

This property is read/write. 

Remarks

Exceptions
InvalidCallException The property value is invalid.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center