pygfx.controllers

Objects to control cameras.

Controllers define how cameras can be interacted with. They are independent of any GUI toolkits.

Controller([camera, enabled, damping, ...])

The base camera controller.

PanZoomController([camera, enabled, ...])

A controller to pan and zoom a camera in a 2D plane parallel to the screen.

OrbitController([camera, enabled, damping, ...])

A controller to move a camera in an orbit around a center position.

TrackballController([camera, enabled, ...])

A controller to freely rotate a camera around a center position.

FlyController(camera, *[, speed])

A controller to fly around a scene as if it's a flight simulator.