Entity3D Scale Property Delta Engine Documentation

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

public Vector3D Scale { get; set; }

Property Value

Type: Vector3D
Remarks

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

1 unit tests call DeltaEngine.Rendering3D.Entity3D.Scale
[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