// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Viewport.Cameras
{
///
/// The interface for the editor viewport camera controllers. Handles the input logic updates and the preview rendering viewport.
///
[HideInEditor]
public interface IViewportCamera
{
///
/// Updates the camera.
///
/// The delta time (in seconds).
void Update(float deltaTime);
///
/// Updates the view.
///
/// The delta time (in seconds).
/// The move delta (scaled).
/// The mouse delta (scaled).
/// True if center mouse after the update.
void UpdateView(float dt, ref Vector3 moveDelta, ref Float2 mouseDelta, out bool centerMouse);
}
}