MeshTests DrawRedLineYellowBoxAndSprite 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 DrawRedLineYellowBoxAndSprite()
Examples

[Test, ApproveFirstFrameScreenshot]
public void DrawRedLineYellowBoxAndSprite()
{
    new Sprite(new Material(ShaderFlags.Position2DColoredTextured, "DeltaEngineLogo"),
        new Rectangle(0.8f, 0.3f, 0.1f, 0.1f));
    new Line3D(new Vector3D(1, -1, 0), new Vector3D(-1, 1, 0), Color.Red);
    new Box(Vector3D.One, Color.Yellow);
}
See Also