EnvironmentMapEffect Members
The following tables list the members exposed by the EnvironmentMapEffect type.
Public Constructors
Name | Description | |
---|---|---|
EnvironmentMapEffect | Overloaded. Creates a new EnvironmentMapEffect object. |
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). | |
AmbientLightColor | Gets or sets the ambient color for a light, the range of color values is from 0 to 1. | |
CurrentTechnique | (Inherited from Effect.) | |
DiffuseColor | Gets or sets the diffuse color for a material, the range of color values is from 0 to 1. | |
DirectionalLight0 | Gets the first directional light. | |
DirectionalLight1 | Gets the second directional light. | |
DirectionalLight2 | Gets the third directional light. | |
EmissiveColor | Gets or sets the emissive color for a material, the range of color values is from 0 to 1. | |
EnvironmentMap | Gets or sets the current environment map texture. | |
EnvironmentMapAmount | Gets or sets the amount of the environment map color (RGB) that will be blended over the base texture. The value ranges from 0 to 1; the default value is 1. | |
EnvironmentMapSpecular | Gets or sets the amount of the environment map alpha value that will be added to the base texture. The value ranges from 0 to 1; the default value is 0. | |
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. | |
FogStart | Gets or sets the minimum z value for fog. | |
FresnelFactor | Gets or sets the Fresnel factor used for the environment map blending. | |
GraphicsDevice | (Inherited from GraphicsResource.) | |
IsDisposed | (Inherited from GraphicsResource.) | |
Name | (Inherited from GraphicsResource.) | |
Parameters | (Inherited from Effect.) | |
Projection | Gets or sets the projection matrix. | |
Tag | (Inherited from GraphicsResource.) | |
Techniques | (Inherited from Effect.) | |
Texture | Gets or sets the current texture. | |
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 EnvironmentMapEffect instance. | |
Dispose | (Inherited from GraphicsResource.) | |
EnableDefaultLighting | Sets up standard key, fill, and back lighting for an EnvironmentMapEffect. | |
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. |
Public Events
Name | Description | |
---|---|---|
Disposing | (Inherited from GraphicsResource.) |
See Also
Reference
EnvironmentMapEffect Class
Microsoft.Xna.Framework.Graphics Namespace