RenderStateManager.SpecularMaterialSource Property

Language:

Retrieves or sets the specular color source for lighting calculations.

Definition

Visual Basic Public Property SpecularMaterialSource As ColorSource
C# public ColorSource SpecularMaterialSource { get; set; }
C++ public:
property ColorSource SpecularMaterialSource {
        ColorSource get();
        void set(ColorSource value);
}
JScript public function get SpecularMaterialSource() : ColorSource
public function set SpecularMaterialSource(ColorSource);

Property Value

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

This property is read/write. 

Remarks

The default value is ColorSource.Color2.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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