RenderStateManager.SpecularMaterialSource Property

Language:

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

Retrieves or sets the specular color source for lighting calculations.

Definition

Visual Basic .NET Public Property SpecularMaterialSource As ColorSource
C# public ColorSource SpecularMaterialSource { get; set; }
Managed C++ public: __property ColorSource get_SpecularMaterialSource();
public: __property void set_SpecularMaterialSource(ColorSource);
JScript .NET 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.


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

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