Share via


EnvironmentMapEffect Members

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

Public Constructors

Name Description
Public Method EnvironmentMapEffect Overloaded. Creates a new EnvironmentMapEffect object.

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 AmbientLightColor Gets or sets the ambient color for a light, the range of color values is from 0 to 1.
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 DirectionalLight0 Gets the first directional light.
Public Property DirectionalLight1 Gets the second directional light.
Public Property DirectionalLight2 Gets the third directional light.
Public Property EmissiveColor Gets or sets the emissive color for a material, the range of color values is from 0 to 1.
Public Property EnvironmentMap Gets or sets the current environment map texture.
Public Property 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.
Public Property 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.
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 FresnelFactor Gets or sets the Fresnel factor used for the environment map blending.
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 texture.
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 EnvironmentMapEffect instance.
Public Method Dispose (Inherited from GraphicsResource.)
Public Method EnableDefaultLighting Sets up standard key, fill, and back lighting for an EnvironmentMapEffect.
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

EnvironmentMapEffect Class
Microsoft.Xna.Framework.Graphics Namespace