BoxMesh Size 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 Vector3D Size { get; set; }

Property Value

Type: Vector3D
Remarks

Tests: DeltaEngine.Rendering3D.Shapes.Tests.BoxMeshTests
Examples

1 unit tests call DeltaEngine.Rendering3D.Shapes.BoxMesh.Size
[Test, CloseAfterFirstFrame]
public void ChangeSize()
{
    var box = new BoxMesh(Vector3D.UnitX, Color.Red) { Size = Vector3D.UnitZ };
    Assert.AreEqual(Vector3D.UnitZ, box.Size);
}
See Also