Inheritance Hierarchy
DeltaEngine.Content FogSettings
Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The FogSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FogSettings | Initializes a new instance of the FogSettings class |
Properties
Name | Description | |
---|---|---|
Current | ||
FogColor | ||
FogEnd | ||
FogStart |
Remarks
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); }
[Test] public void CreatingOwnFogSettingsWillChangeTheCurrentSettings() { FogSettings defaultSettings = FogSettings.Current; var ownFogSettings = new FogSettings(Color.Green, 1, 2); Assert.AreNotEqual(defaultSettings, ownFogSettings); Assert.AreEqual(ownFogSettings, FogSettings.Current); }
See Also