BrickTests Position 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 Position()
Examples

[Test, CloseAfterFirstFrame]
public void Position()
{
    var brick = new Brick(material, new Vector2D(0.1f, 0.2f), displayMode)
    {
        TopLeftGridCoord = new Vector2D(0.4f, 0.8f)
    };
    Assert.AreEqual(new Vector2D(0.5f, 1.0f), brick.Position);
}
See Also