Microsoft DirectX 9.0 SDK Update (October 2004)

Light.Ambient Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the ambient color emitted by the light.

This member is a Color Leave Site structure.

Definition

Visual Basic .NET Public Property Ambient As Color
C# public Color Ambient { get; set; }
Managed C++ public: __property Color get_Ambient();
public: __property void set_Ambient(Color);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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