public void setDragToRotate(boolean dragToRotate) {
        this.dragToRotate = dragToRotate;
        if (inputManager != null) {
            inputManager.setCursorVisible(dragToRotate);
        }
    }
Enable or disable drag-to-rotate mode.

When drag-to-rotate mode is enabled, the user must hold the mouse button
and drag over the screen to rotate the camera, and the cursor is visible
until dragged. When drag-to-rotate mode is disabled, the cursor is
invisible at all times and holding the mouse button is not needed to
rotate the camera. This mode is disabled by default.

@param dragToRotate true to enable, false to disable
jme3-core/src/main/java/com/jme3/input/FlyByCamera.java