AlphaTestEffect Members

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

Public Constructors

Name Description
Public Method AlphaTestEffect Overloaded. Creates a new instance of an effect for alpha testing.

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 AlphaFunction Gets or sets the compare function for alpha test. The default value is Greater.
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 ReferenceAlpha Gets or sets the reference alpha value, the default value is 0.
Public Property Tag (Inherited from GraphicsResource.)
Public Property Techniques (Inherited from Effect.)
Public Property Texture Gets or sets the current texture.
Public Property VertexColorEnabled Gets or sets whether 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 AlphaTestEffect 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 using a lazy architecture.

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

AlphaTestEffect Class
Microsoft.Xna.Framework.Graphics Namespace