RenderStateManager.AmbientMaterialSource Property |
Language: |
Retrieves or sets the ambient color source for lighting calculations.
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);
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.
Valid values are members of the ColorSource enumeration. The default value is ColorSource.Material.
Feedback? Please provide us with your comments on this topic.