Table of Contents

Interface IEffectFog

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

The common effect fog rendering parameters.

public interface IEffectFog

Properties

FogColor

The floating point fog color.

Vector3 FogColor { get; set; }

Property Value

Vector3

FogEnabled

Used to toggle the rendering of fog.

bool FogEnabled { get; set; }

Property Value

bool

FogEnd

The world space distance from the camera at which fogging is fully applied.

float FogEnd { get; set; }

Property Value

float

Remarks

FogEnd should be greater than FogStart. If FogEnd and FogStart are the same value everything is fully fogged.

FogStart

The world space distance from the camera at which fogging begins.

float FogStart { get; set; }

Property Value

float

Remarks

FogStart should be less than FogEnd. If FogEnd and FogStart are the same value everything is fully fogged.