vispy.scene.cameras.perspective.
Base3DRotationCamera
Bases: vispy.scene.cameras.perspective.PerspectiveCamera
vispy.scene.cameras.perspective.PerspectiveCamera
Base class for TurntableCamera and ArcballCamera
distance
The user-set distance. If None (default), the distance is internally calculated from the scale factor and fov.
viewbox_mouse_event
The viewbox received a mouse event; update transform accordingly.
The event.
PerspectiveCamera
Bases: vispy.scene.cameras.base_camera.BaseCamera
vispy.scene.cameras.base_camera.BaseCamera
Base class for 3D cameras supporting orthographic and perspective projections.
Field of view. Default 60.0.
A measure for the scale/range of the scene that the camera should show. The exact meaning differs per camera type.
Keyword arguments to pass to BaseCamera.
near_clip_distance
The distance of the near clipping plane from the camera’s position.
scale_factor
The measure for the scale or range that the camera should cover
For the PanZoomCamera and TurnTableCamera this translates to zooming: set to smaller values to zoom in.
The ViewBox received a mouse event; update transform accordingly. Default implementation adjusts scale factor when scolling.
viewbox_resize_event
The ViewBox resize handler to update the transform