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

[Test, CloseAfterFirstFrame]
public void CurrentFrameChangesWhenMoving()
{
    PathCamera camera = CreatePathCamera(GetLinearViewMatrixTrack(GridDimension));
    camera.IsMoving = true;
    AdvanceTimeAndUpdateEntities();
    Assert.IsTrue(camera.CurrentFrame > 0);
}
See Also