Grid3D GridScale Property Delta Engine Documentation

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

public float GridScale { get; set; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Rendering3D.Shapes.Tests.Grid3DTests
Examples

1 unit tests call DeltaEngine.Rendering3D.Shapes.Grid3D.GridScale
[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