AlphaTestEffect Members
The following tables list the members exposed by the AlphaTestEffect type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
AlphaTestEffect | Overloaded. Creates a new instance of an effect for alpha testing. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Alpha | Gets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent). |
![]() |
AlphaFunction | Gets or sets the compare function for alpha test. The default value is Greater. |
![]() |
CurrentTechnique | (Inherited from Effect.) |
![]() |
DiffuseColor | Gets or sets the diffuse color for a material, the range of color values is from 0 to 1. |
![]() |
FogColor | Gets or sets the fog color, the range of color values is from 0 to 1. |
![]() |
FogEnabled | Gets or sets the fog enable flag. |
![]() |
FogEnd | Gets or sets the maximum z value for fog, which ranges from 0 to 1. |
![]() |
FogStart | Gets or sets the minimum z value for fog, which ranges from 0 to 1. |
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
Parameters | (Inherited from Effect.) |
![]() |
Projection | Gets or sets the projection matrix. |
![]() |
ReferenceAlpha | Gets or sets the reference alpha value, the default value is 0. |
![]() |
Tag | (Inherited from GraphicsResource.) |
![]() |
Techniques | (Inherited from Effect.) |
![]() |
Texture | Gets or sets the current texture. |
![]() |
VertexColorEnabled | Gets or sets whether vertex color is enabled. |
![]() |
View | Gets or sets the view matrix. |
![]() |
World | Gets or sets the world matrix. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Clone | Creates a clone of the current AlphaTestEffect instance. |
![]() |
Dispose | (Inherited from GraphicsResource.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from GraphicsResource.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Dispose | (Inherited from Effect.) |
![]() |
Finalize | (Inherited from GraphicsResource.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnApply | Computes derived parameter values immediately before applying the effect using a lazy architecture. |
Public Events
Name | Description | |
---|---|---|
![]() |
Disposing | (Inherited from GraphicsResource.) |
See Also
Reference
AlphaTestEffect Class
Microsoft.Xna.Framework.Graphics Namespace