FlightCameraController
Drives a CameraState using a Filament Manipulator in FLIGHT mode (first-person).
The per-frame simulation is driven automatically by rememberFlightCameraController (via OnFrame) — you don't need a separate loop composable.
Functions
Step the movement speed along the initialMoveSpeed…maxMoveSpeed curve; one unit of steps is one of speedSteps. Driven by the scroll wheel in Modifier.flightGestures.
Restore a pose previously captured with saveBookmark.
Snap back to the flight start position/orientation set at creation.
Capture the current camera pose as a bookmark to restore later with jumpToBookmark.
Viewport size in px. Kept in sync automatically by the matching gesture modifier; call manually only when driving the manipulator without one.
Advance the camera simulation by deltaTime seconds. Flight-only; driven automatically per frame by rememberFlightCameraController, so callers rarely call it directly.