pygfx.controllers.TrackballController
- class pygfx.controllers.TrackballController(*args, target=None, **kwargs)
Bases:
OrbitControllerA controller to freely rotate a camera around a center position.
This controller is similar to the OrbitController, but it does not maintain a constant camera up vector.
Default controls:
Left mouse button: orbit / rotate.
Right mouse button: pan.
Fourth mouse button: quickzoom
wheel: zoom to point.
alt+wheel: adjust fov.