RenderStateManager.DiffuseMaterialSource Property |
Language: |
Retrieves or sets the diffuse color source for lighting calculations.
Visual Basic .NET Public Property DiffuseMaterialSource As ColorSource C# public ColorSource DiffuseMaterialSource { get; set; } Managed C++ public: __property ColorSource get_DiffuseMaterialSource();
public: __property void set_DiffuseMaterialSource(ColorSource);JScript .NET public function get DiffuseMaterialSource() : ColorSource
public function set DiffuseMaterialSource(ColorSource);
Microsoft.DirectX.Direct3D.ColorSource . A ColorSource object that specifies the diffuse color source value to set or retrieve.
This property is read/write.
Valid values are members of the ColorSource enumerated type. The default value is ColorSource.Color1. The value for this render state is used only if RenderStateManager.ColorVertex is set to true.
Feedback? Please provide us with your comments on this topic.