IsometricCameraTests SettingPositionMovesTarget 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 SettingPositionMovesTarget()
Examples

[Test, CloseAfterFirstFrame]
public void SettingPositionMovesTarget()
{
    camera.Position = new Vector3D(10.0f, 10.0f, 10.0f);
    Assert.AreEqual(new Vector3D(10.0f, 11.0f, 10.0f), camera.Target);
}
See Also