EnvironmentMapEffect.EnvironmentMapAmount Property

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.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public float EnvironmentMapAmount { get; set; }

Property Value

The RGB blend factor.

Remarks

If set to zero, the RGB channels of the environment map will be completely ignored (the environment map alpha may still be visible if EnvironmentMapSpecular is greater than zero).

See Also

Reference

EnvironmentMapEffect Class
EnvironmentMapEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7