OrthoCameraTests UpdateCameraTarget 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 UpdateCameraTarget()
Examples

[Test, CloseAfterFirstFrame]
public void UpdateCameraTarget()
{
    Assert.AreEqual(Vector3D.Zero, camera.Target);
    camera.Target += Vector3D.One * 2;
    Assert.AreEqual(new Vector3D(2, 2, 2), camera.Target);
}
See Also