Share via


RenderStateManager.EmissiveMaterialSource Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the emissive color source for lighting calculations.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.ColorSource
A ColorSource object that specifies the emissive color source value to set or retrieve.

This property is read/write. 

Remarks

Valid values are members of the ColorSource enumeration. The default value is ColorSource.Material.