Microsoft DirectX 9.0 SDK Update (October 2004)

Light.AmbientColor 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 ColorValue structure.

Definition

Visual Basic .NET Public Property AmbientColor As ColorValue
C# public ColorValue AmbientColor { get; set; }
Managed C++ public: __property ColorValue get_AmbientColor();
public: __property void set_AmbientColor(ColorValue);
JScript .NET public function get AmbientColor() : ColorValue
public function set AmbientColor(ColorValue);

Property Value

Microsoft.DirectX.Direct3D.ColorValue . ColorValue 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