PlaneQuadTests DrawFourPlanesWithoutCulling Method Delta Engine Documentation

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

public void DrawFourPlanesWithoutCulling()
Examples

[Test, ApproveFirstFrameScreenshot]
public void DrawFourPlanesWithoutCulling()
{
    Resolve<Device>().CullingMode = Culling.Disabled;
    SetUpCamera(-3);
    new Model(new ModelData(CreateUncoloredPlaneQuad()), Vector3D.Zero);
    new Model(new ModelData(CreatePlaneQuad(Color.Red)), Vector3D.UnitX * Size.Width);
    new Model(new ModelData(CreatePlaneQuad(Color.Green)), Vector3D.UnitY);
    new Model(new ModelData(CreatePlaneQuad(Color.Blue)), Vector3D.UnitZ * Size.Height);
}
See Also