OrthoCameraTests UpdateCameraPosition Method Delta Engine Documentation

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

public void UpdateCameraPosition()
Examples

[Test, CloseAfterFirstFrame]
public void UpdateCameraPosition()
{
    Assert.IsTrue(Camera.IsInitialized);
    Assert.AreEqual(Vector3D.Zero, camera.Position);
    camera.Position += Vector3D.One * 2;
    Assert.AreEqual(new Vector3D(2, 2, 2), camera.Position);
}
See Also