Home
last modified time | relevance | path

Searched refs:dragToRotate (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/input/
DFlyByCamera.java81 protected boolean dragToRotate = false; field in FlyByCamera
127 if (inputManager!= null && (!dragToRotate || (dragToRotate && canRotate))){ in setEnabled()
148 return dragToRotate; in isDragToRotate()
162 public void setDragToRotate(boolean dragToRotate) { in setDragToRotate() argument
163 this.dragToRotate = dragToRotate; in setDragToRotate()
165 inputManager.setCursorVisible(dragToRotate); in setDragToRotate()
204 inputManager.setCursorVisible(dragToRotate || !isEnabled()); in registerWithInput()
234 inputManager.setCursorVisible(!dragToRotate); in unregisterInput()
245 if (dragToRotate){ in rotateCamera()
358 if (name.equals("FLYCAM_RotateDrag") && dragToRotate){ in onAction()
DChaseCamera.java95 protected boolean dragToRotate = true; field in ChaseCamera
155 if (dragToRotate) { in onAction()
768 return dragToRotate; in isDragToRotate()
778 public void setDragToRotate(boolean dragToRotate) { in setDragToRotate() argument
779 this.dragToRotate = dragToRotate; in setDragToRotate()
780 this.canRotate = !dragToRotate; in setDragToRotate()
781 inputManager.setCursorVisible(dragToRotate); in setDragToRotate()