The XMaterial type exposes the following members.

Properties

  NameDescription
Alpha
Gets or sets the transparency of the material color diffuse component in the Byte range of 0 to 255.
AlphaF
Gets or sets the transparency of the material color diffuse component in the Single range of 0 to 1.
AmbientColor
Gets or sets the material ambient color.
AntiAlias
Gets or sets the perrision for use the anti-alias effect.
Blending
Gets or sets the blending mode.
CullMode
Gets or sets the mode of displaying the far sides defined by the XMaterialCullMode enumeration.
Default
Gets the default XMaterial material.
DepthBias
Gets ot sets the Z buffer value bias.
DepthCheck
Gets or sets whether the Z buffer value should be tested during the rendering.
DepthCheckFunction
Gets or sets the function that will be used for Z buffer value testing. XMaterial..::.DepthCheck
DepthWrite
Gets or sets whether the depth value should be written do the Z buffer during the rendering.
DiffuseColor
Gets or sets the material diffuse color.
EmissiveColor
Gets or sets the material emission color.
IsTransparent
Denotes whether the material is transparent.
Layers
Gets or sets the XTextureLayer texture layer collection of the XMaterial material.
Lighting
Gets or sets whether the material can be lighted.
Material
Gets the DirectX layer inner material.
Name
Gets the material name.
ShadeMode
Gets or sets the shading mode defined by the ShadeMode enumeration.
SpecularColor
Gets or sets the material specular color.
SpecularSharpness
Gets or sets the material specular sharpness.
SyncRoot
TextureFiltering
Gets or sets the mode of texture filtering during resizing.

See Also