Export (0) Print
Expand All

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)

public float EnvironmentMapAmount { get; set; }

Property Value

The RGB blend factor.

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).

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft