RenderStateManager.AmbientMaterialSource Property |
Language: |
Retrieves or sets the ambient color source for lighting calculations.
Visual Basic Public Property AmbientMaterialSource As ColorSource C# public ColorSource AmbientMaterialSource { get; set; } C++ public:
property ColorSource AmbientMaterialSource {
ColorSource get();
void set(ColorSource value);
}JScript public function get AmbientMaterialSource() : ColorSource
public function set AmbientMaterialSource(ColorSource);
Microsoft.DirectX.Direct3D.ColorSource
This property is read/write.
Value of the ColorSource enumeration that specifies the ambient color source value to set or retrieve.
Valid values are members of the ColorSource enumeration. The default value is ColorSource.Material.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.