BoxMeshTests ChangeColor 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 ChangeColor()
Examples

[Test, CloseAfterFirstFrame]
public void ChangeColor()
{
    var box = new BoxMesh(Vector3D.UnitY, Color.Red) { Color = Color.Blue };
    Assert.AreEqual(Color.Blue, box.Color);
}
See Also