![]() |
![]() |
![]() |
Device.Material Property |
Language: |
Retrieves or sets the current material properties for the device.
Visual Basic .NET Public Property Material As Material C# public Material Material { get; set; } Managed C++ public: __property Material get_Material();
public: __property void set_Material(Material);JScript .NET public function get Material() : Material
public function set Material(Material);
Microsoft.DirectX.Direct3D.Material . A Material object that represents the current material properties or the material properties to set.
This property is read/write.
Exceptions
InvalidCallException Occurs if properties of the Material object are invalid.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center