* Add javadoc for InputManager.setMouseCursor()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..rd 13 years ago
parent a76f3a2cab
commit 20566963f8
  1. 9
      engine/src/core/com/jme3/input/InputManager.java

@ -393,6 +393,15 @@ public class InputManager implements RawInputListener {
}
}
/**
* Sets the mouse cursor image or animation.
* Set cursor to null to show default system cursor.
* To hide the cursor completely, use {@link #setCursorVisible(boolean) }.
*
* @param jmeCursor The cursor to set, or null to reset to system cursor.
*
* @see JmeCursor
*/
public void setMouseCursor(JmeCursor jmeCursor) {
mouse.setNativeCursor(jmeCursor);
}

Loading…
Cancel
Save