Device.Material Property |
Language: |
Retrieves or sets the current material properties for the device.
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);
Microsoft.DirectX.Direct3D.Material
This property is read/write.
A Material object that represents the current material properties or the material properties to set.
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