public void setDragToRotate(boolean dragToRotate) {
        this.dragToRotate = dragToRotate;
        this.canRotate = !dragToRotate;
        if (inputManager != null) {
            inputManager.setCursorVisible(dragToRotate);
        }
    }
@param dragToRotate When true, the user must hold the mouse button and
drag over the screen to rotate the camera, and the cursor is visible
until dragged. Otherwise, the cursor is invisible at all times and
holding the mouse button is not needed to rotate the camera. This feature
is disabled by default.
jme3-core/src/main/java/com/jme3/app/ChaseCameraAppState.java