DualTextureEffect Members

The following tables list the members exposed by the DualTextureEffect type.

Public Constructors

Name Description
Public Method DualTextureEffect Overloaded. Creates a configurable effect that supports two-layer multitexturing.

Public Properties

Name Description
Public Property Alpha Gets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent).
Public Property CurrentTechnique (Inherited from Effect.)
Public Property DiffuseColor Gets or sets the diffuse color for a material, the range of color values is from 0 to 1.
Public Property FogColor Gets or sets the fog color, the range of color values is from 0 to 1.
Public Property FogEnabled Gets or sets the fog enable flag.
Public Property FogEnd Gets or sets the maximum z value for fog.
Public Property FogStart Gets or sets the minimum z value for fog.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property Name (Inherited from GraphicsResource.)
Public Property Parameters (Inherited from Effect.)
Public Property Projection Gets or sets the projection matrix.
Public Property Tag (Inherited from GraphicsResource.)
Public Property Techniques (Inherited from Effect.)
Public Property Texture Gets or sets the current base texture.
Public Property Texture2 Gets or sets the current overlay texture.
Public Property VertexColorEnabled Gets or sets whether per-vertex color is enabled.
Public Property View Gets or sets the view matrix.
Public Property World Gets or sets the world matrix.

Public Methods

Name Description
Public Method Clone Creates a clone of the current DualTextureEffect instance.
Public Method Dispose (Inherited from GraphicsResource.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from GraphicsResource.)

Protected Methods

Name Description
Protected Method Dispose (Inherited from Effect.)
Protected Method Finalize (Inherited from GraphicsResource.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnApply Computes derived parameter values immediately before applying the effect.

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

DualTextureEffect Class
Microsoft.Xna.Framework.Graphics Namespace