Microsoft DirectX 9.0 SDK Update (October 2004)

Device.Material Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the current material properties for the device.

Definition

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);

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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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