setMouseCameraEnabled

static boolean setMouseCameraEnabled(boolean enable)

Sets the option for using the middle mouse button to adjust the camera.

Return

True if the option was successfully set; false if it was not for some unknown reason.

Parameters

enable

True to enable use the middle mouse button to adjust the camera; false to disable.