Manager for camera related tasks

Hierarchy

  • CameraManager

Properties

CAMERA_ANIMATION_NAME: "__cameraAnimation__" = '__cameraAnimation__'

Methods

  • Moves the active camera smoothly to certain position

    Parameters

    • position: CameraPosition
    • durationMs: number = CameraManager._DEFAULT_CAM_SPEED_MS

      defaults to 250ms if unset, use 0 for instant movement

    Returns Promise<void>

Generated using TypeDoc