FogSettings FogEnd Property Delta Engine Documentation

Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public float FogEnd { get; set; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Tests.Content.FogSettingsTests
Examples

1 unit tests call DeltaEngine.Content.FogSettings.FogEnd
[Test]
public void CurrentFogSettingsWillBeFilledWithDefaultValuesIfNoSpecificSettingsAreSet()
{
    FogSettings defaultSettings = FogSettings.Current;
    Assert.AreNotEqual(0, defaultSettings.FogStart);
    Assert.AreNotEqual(0, defaultSettings.FogEnd);
    Assert.AreNotEqual(0, defaultSettings.FogColor.A);
}
See Also