Namespace: DeltaEngine.Rendering3D.Tests.Cameras
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CreateWithLookDirection() { var lookDirection = Vector3D.UnitY; camera = new IsometricCamera(Resolve<Device>(), Resolve<Window>(), lookDirection); Assert.AreEqual(-lookDirection, camera.Position); Assert.AreEqual(Vector3D.Zero, camera.Target); }
See Also