DualTextureEffect Class

Contains a configurable effect that supports two-layer multitexturing.

System.Object
  Microsoft.Xna.Framework.Graphics.Effect
    Microsoft.Xna.Framework.Graphics.DualTextureEffect

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

public class DualTextureEffect : Effect, 
	IEffectMatrices, IEffectFog

The DualTextureEffect type exposes the following members.

  NameDescription
Public methodDualTextureEffectInitializes a new instance of the DualTextureEffect class.
Top

  NameDescription
Public propertyAlphaGets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent).
Public propertyCurrentTechniqueGets or sets the active technique. (Inherited from Effect.)
Public propertyDiffuseColorGets or sets the diffuse color for a material, the range of color values is from 0 to 1.
Public propertyFogColorGets or sets the fog color, the range of color values is from 0 to 1.
Public propertyFogEnabledGets or sets the fog enable flag.
Public propertyFogEndGets or sets the maximum z value for fog.
Public propertyFogStartGets or sets the minimum z value for fog.
Public propertyIsDisposedGets a value that indicates whether the object is disposed. (Inherited from Effect.)
Public propertyProjectionGets or sets the projection matrix.
Public propertyTechniquesGets a collection of techniques that are defined for this effect. (Inherited from Effect.)
Public propertyTextureGets or sets the current base texture.
Public propertyTexture2Gets or sets the current overlay texture.
Public propertyVertexColorEnabledGets or sets whether per-vertex color is enabled.
Public propertyViewGets or sets the view matrix.
Public propertyWorldGets or sets the world matrix.
Top

  NameDescription
Public methodDispose()Immediately releases the unmanaged resources used by this object. (Inherited from Effect.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the Effect and optionally releases the managed resources. (Inherited from Effect.)
Protected methodFinalizeAllows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from Effect.)
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: