pygfx.controllers

Objects to control cameras.

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

Controller()

Base camera controller.

PanZoomController([eye, target, up, zoom, ...])

A class implementing two-dimensional pan-zoom camera controller.

OrbitController([eye, target, up, ...])

A class implementing an orbit camera controller, where the camera is rotated around a center position (orbiting around it).

OrbitOrthoController([eye, target, up, ...])

An orbit controller for orthographic camera's (zooming is done by projection, instead of changing the distance.