Namespace: Blocks
Assembly: Blocks (in Blocks.exe) Version: 1.1.1.0 (1.1.1)
Tests: Blocks.Tests.BrickTests
1 unit tests call Blocks.Brick.Position
Assembly: Blocks (in Blocks.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector2DRemarks
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