The XMaterial type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XMaterial | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| AddLayer |
Adds new XTextureLayer texture layer to the material.
| |
| AdjustXFileMaterial | Overloaded. | |
| Clone | Overloaded. | |
| CombineCull |
Combines the cullMode with the cameraCullMode.
| |
| CompareBlending |
Compares this instance Blending property with the reference material m.
| |
| CompareDepthMode |
Compares the properties DepthCheck, DepthCheckFunction and DepthWrite of this instance with the reference material m.
| |
| CompareSurfaceColors |
Compares the material surface colors with the reference material m.
| |
| CreateTextureMaterial | Overloaded. | |
| CullModeToCull |
Converts the XMaterialCullMode enumaration to the Cull.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetCombinedCull | Overloaded. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| ModulateColors |
Performs a material color modulation using the given filter.
| |
| OnAutoAnimate |
The method is called on object animation request.
| |
| SetDepthBias |
Sets depth bias.
| |
| SetRenderBlending |
Sets the blending mode for the given device.
| |
| SetRenderCullMode |
Defines mode of displaying the far sides of the object.
| |
| SetRenderDepthBias |
Sets render depth bias.
| |
| SetRenderDepthMode |
Sets render depth mode.
| |
| SetRenderLighting |
Turns the scene lighting for given device on or off.
| |
| SetRenderMultiSampleAntiAlias |
Turns the scene anti-aliasing on or off.
| |
| SetRenderShadeMode |
Sets the shading mode for the given device.
| |
| SetRenderSurfaceColor |
Sets this material as active for the device screen.
| |
| SetRenderTextureFiltering |
Sets the way of texture filtering for the given device.
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DefaultCull |
The Cull default mode of displaying the DirectX layer 3D faces.
| |
| DefaultCullMode |
The default mode of displaying the 3D faces.
|
Properties
| Name | Description | |
|---|---|---|
| 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.
|