Export (0) Print
Expand All

Material Structure (Microsoft.DirectX.Direct3D)

Specifies material properties.

Definition

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

Members Table

The following table lists the members exposed by the object.

Methods

MethodDescription
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

PropertyDescription
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

NamespaceMicrosoft.DirectX.Direct3D
AssemblyMicrosoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong NameMicrosoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also

Show:
© 2015 Microsoft