RenderStateManager.SpecularMaterialSource Property (Microsoft.DirectX.Direct3D)
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.