RenderStateManager.AmbientMaterialSource Property

Language:

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

Retrieves or sets the ambient color source for lighting calculations.

Definition

Visual Basic .NET Public Property AmbientMaterialSource As ColorSource
C# public ColorSource AmbientMaterialSource { get; set; }
Managed C++ public: __property ColorSource get_AmbientMaterialSource();
public: __property void set_AmbientMaterialSource(ColorSource);
JScript .NET public function get AmbientMaterialSource() : ColorSource
public function set AmbientMaterialSource(ColorSource);

Property Value

Microsoft.DirectX.Direct3D.ColorSource . Value of the ColorSource enumeration that specifies the ambient color source value to set or retrieve.

This property is read/write. 

Remarks

Valid values are members of the ColorSource enumeration. The default value is ColorSource.Material.


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

Feedback? Please provide us with your comments on this topic.