VisualFogTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    DeltaEngine.Rendering3D.Tests VisualFogTests

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

public class VisualFogTests : TestWithMocksOrVisually

The VisualFogTests type exposes the following members.

Constructors

  NameDescription
Public methodVisualFogTests
Initializes a new instance of the VisualFogTests class
Top
Methods

  NameDescription
Protected methodAdvanceTimeAndUpdateEntities (Inherited from TestWithMocksOrVisually.)
Public methodDisposeCamera
Public methodInitializeCameraAndFogSettings
Public methodInitializeResolver (Inherited from TestWithMocksOrVisually.)
Protected methodRegisterMock T  (Inherited from TestWithMocksOrVisually.)
Protected methodResolve T  (Inherited from TestWithMocksOrVisually.)
Protected methodRunAfterFirstFrame (Inherited from TestWithMocksOrVisually.)
Public methodRunTestAndDisposeResolverWhenDone (Inherited from TestWithMocksOrVisually.)
Public methodShowFogOnColoredTexturedVertices
Public methodShowFogOnColoredVertices
Public methodShowFogOnSkinnedTexturedVertices
Public methodShowFogOnTexturedLightmapVertices
Public methodShowFogOnTexturedVertices
Top
Properties

  NameDescription
Protected propertyIsMockResolver (Inherited from TestWithMocksOrVisually.)
Top
Examples

[Test, ApproveFirstFrameScreenshot]
public void ShowFogOnColoredVertices()
{
    CreateGroundWithColoredVertices(3, 3, Color.White);
}
[Test, ApproveFirstFrameScreenshot]
public void ShowFogOnTexturedVertices()
{
    CreateGroundWithTexturedVertices(10, 10, "DeltaEngineLogo");
}
[Test, ApproveFirstFrameScreenshot]
public void ShowFogOnColoredTexturedVertices()
{
    CreateGroundWithColoredTexturedVertices(10, 10, Color.Green, "DeltaEngineLogo");
}
[Test, ApproveFirstFrameScreenshot]
public void ShowFogOnTexturedLightmapVertices()
{
    ShowExistingModelWithFog("LightmapBoxMaya");
}
[Test, ApproveFirstFrameScreenshot]
public void ShowFogOnSkinnedTexturedVertices()
{
    ShowExistingModelWithFog("AnimatedMeshMax");
    CreateGroundWithColoredVertices(3, 3, Color.Green);
}
See Also