Camera.pan

Camera.pan(dx, dy)[source]

Pan the camera based on current mouse movement.

Parameters
dxfloat

Number of “pan” increments in the “X” direction of the current view, with each increment the size of Camera.pan_delta.

dyfloat

Number of “pan” increments in the “Y” direction of the current view, with each increment the size of Camera.pan_delta.

Returns
None