EnvironmentMapMaterialContent.EnvironmentMapAmount Property

Note

This property is available only when developing for Windows.

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.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public Nullable<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

EnvironmentMapMaterialContent Class
EnvironmentMapMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP