PathCameraTests GetCurrentViewMatrix 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 GetCurrentViewMatrix()
Examples

[Test, CloseAfterFirstFrame]
public void GetCurrentViewMatrix()
{
    var matrices = GetLinearViewMatrixTrack(GridDimension);
    PathCamera camera = CreatePathCamera(matrices);
    camera.CurrentFrame = 5;
    Assert.AreEqual(matrices[5], camera.GetCurrentViewMatrix());
}
See Also