pyvista.plotting.picking.PickingHelper.enable_fly_to_right_click

pyvista.plotting.picking.PickingHelper.enable_fly_to_right_click#

PickingHelper.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.