Microsoft SDK for Java

D3dMaterialDesc Class Fields

The D3dMaterialDesc Class contains the following fields.

ambientA The alpha element of the material's ambient color.
ambientB The blue element of the material's ambient color.
ambientG The green element of the material's ambient color.
ambientR The red element of the material's ambient color.
diffuseA The alpha element of the material's diffuse color.
diffuseB The blue element of the material's diffuse color.
diffuseG The green element of the material's diffuse color.
diffuseR The red element of the material's diffuse color.
dvPower The sharpness of specular highlights.
emissiveA The alpha element of the material's emissive color.
emissiveB The blue element of the material's emissive color.
emissiveG The green element of the material's emissive color.
emissiveR The red element of the material's emissive color.
power Value specifying the sharpness of specular highlights.
rampSize Size of the color ramp. For the monochromatic (ramp) driver, this value must be less than or equal to 1 for materials assigned to the background; otherwise, the background is not displayed. This behavior also occurs when a texture that is assigned to the background has an associated material whose rampSize field is greater than 1.
specularA The alpha element of the material's specular color.
specularB The blue element of the material's specular color.
specularG The green element of the material's specular color.
specularR The red element of the material's specular color.
textureHandle The handle of the texture map.

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