Device.Material Property

Language:

Retrieves or sets the current material properties for the device.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.Material
A Material object that represents the current material properties or the material properties to set.

This property is read/write. 

Remarks

Exceptions
InvalidCallException Occurs if properties of the Material object are invalid.


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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center