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 ThrowExceptionIfNoTrackPositionIsSpecified() { Assert.Throws<PathCamera.NoTrackSpecified>(() => CreatePathCamera(null)); Assert.Throws<PathCamera.NoTrackSpecified>(() => CreatePathCamera(new Matrix[0])); Assert.Throws<PathCamera.NoTrackSpecified>(() => CreatePathCamera(new[] { Matrix.Identity })); }
See Also