FogSettingsTests CurrentFogSettingsWillBeFilledWithDefaultValuesIfNoSpecificSettingsAreSet Method Delta Engine Documentation

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

public void CurrentFogSettingsWillBeFilledWithDefaultValuesIfNoSpecificSettingsAreSet()
Examples

[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