Microsoft DirectX 9.0 SDK Update (October 2004)

Material Structure

Language:

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

Specifies material properties.

Definition

Visual Basic .NET Public Structure Material
C# public struct Material
Managed C++ public __value struct Material
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

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 .NET) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic .NET) 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.
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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 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