MapCameraController

Pans and zooms a CameraState over the scene, the way Filament's camutils map manipulator does, working on the state itself: drag slides the view, scroll and pinch zoom towards the pointer, no rotation. Set the state up looking down on the ground (an up of -Z puts north at the top); with Projection.Orthographic, zoom scales its extents.

Functions

Link copied to clipboard
open override fun resetToHome()

Snap the camera back to the pose it had when this controller was first created.