OrbitCameraController

Orbits a CameraState around its target, the way Filament's camutils orbit manipulator does, working on the state itself. Create with rememberOrbitCameraController, pass the same CameraState to FilamentView, and attach Modifier.orbitGestures to the view's surface. Up stays the state's up; the orbit turns around +Y.

Functions

Link copied to clipboard
open override fun resetToHome()

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