FlightCameraState

Drives a CameraState using a Filament Manipulator in FLIGHT mode (first-person).

The per-frame simulation is driven automatically by rememberFlightCameraState (via OnFrame) — you don't need a separate loop composable.

Functions

Link copied to clipboard
fun setViewport(width: Int, height: Int)
Link copied to clipboard
fun update(deltaTime: Float)

Advance the camera simulation by deltaTime seconds. Driven automatically per frame.