Grid3DTests CheckGridScale 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 CheckGridScale()
Examples

[Test]
public void CheckGridScale()
{
    var grid = CreateQuadraticGrid(10);
    Assert.AreEqual(0.2f, grid.GridScale);
    grid.GridScale = 1.0f;
    Assert.AreEqual(1.0f, grid.GridScale);
}
See Also