pans the view of the camera by the given offsets.
The amount to pan the view horizontally.
The amount to pan the view vertically.
if the transition should be interpolated