SpriteTests DrawLinesUnderAndOverSprite Method Delta Engine Documentation

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

public void DrawLinesUnderAndOverSprite()
Examples

[Test, ApproveFirstFrameScreenshot]
public void DrawLinesUnderAndOverSprite()
{
    new Line2D(Vector2D.Zero, Vector2D.One, Color.Blue) { RenderLayer = -1 };
    new Sprite(logoMaterial, Rectangle.HalfCentered);
    new Line2D(Vector2D.UnitX, Vector2D.UnitY, Color.Purple) { RenderLayer = 1 };
}
See Also