BrickTests RenderBrickInPortraitMode Method Delta Engine Documentation

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

public void RenderBrickInPortraitMode()
Examples

[Test]
public void RenderBrickInPortraitMode()
{
    Resolve<Window>().ViewportPixelSize = new Size(600, 800);
    var brick = new Brick(material, new Vector2D(5, 5), Orientation.Portrait);
    brick.UpdateDrawArea();
}
See Also