PathCamera IsMoving Property Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Cameras
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public bool IsMoving { get; set; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Rendering3D.Tests.Cameras.PathCameraTests
Examples

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