Grid3DTests CheckGridDimension Method Delta Engine Documentation

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

public void CheckGridDimension()
Examples

[Test]
public void CheckGridDimension()
{
    var grid = CreateQuadraticGrid(10);
    Assert.AreEqual(new Size(10, 10), grid.Dimension);
    grid.Dimension = new Size(20, 20);
    Assert.AreEqual(new Size(20, 20), grid.Dimension);
}
See Also