Partager via


Material Structure (Microsoft.DirectX.Direct3D)

Specifies material properties.

Definition

Visual Basic Public Structure Material
C# public struct Material 
C++ public value class Material sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Equals Returns a value that indicates whether the current instance is equal to a specified object.
GetHashCode Returns the hash code for the current instance.
Material Initializes a new instance of the Material class.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
ToString Obtains a string representation of the current instance.

Properties

Property Description
Ambient Retrieves or sets a value that specifies the ambient color.
AmbientColor Retrieves or sets the ambient ColorValue.
Diffuse Retrieves or sets a value that specifies the diffuse color.
DiffuseColor Retrieves or sets the diffuse ColorValue.
Emissive Retrieves or sets a value that specifies the emissive color.
EmissiveColor Retrieves or sets the emissive ColorValue.
Specular Retrieves or sets a value that specifies the specular color.
SpecularColor Retrieves or sets the specular ColorValue.
SpecularSharpness Retrieves or sets a value that specifies the sharpness of specular highlights.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also