pyvista.Plotter.enable_fly_to_right_click#

Plotter.enable_fly_to_right_click(callback=None)[source]#

Set the camera to track right click positions.

A convenience method to track right click positions and fly to the picked point in the scene. The callback will be passed the point in 3D space.

Parameters:
callbackcallable()

Callback to call immediately after right clicking.