com.jme.input
Class MouseLookHandler

java.lang.Object
  extended by com.jme.input.InputHandler
      extended by com.jme.input.MouseLookHandler

public class MouseLookHandler
extends InputHandler

MouseLookHandler defines an InputHandler that allows to rotate the camera via the mouse.


Field Summary
 
Fields inherited from class com.jme.input.InputHandler
activeTriggers, allTriggers, AXIS_ALL, AXIS_NONE, BUTTON_ALL, BUTTON_NONE, DEVICE_ALL, DEVICE_KEYBOARD, DEVICE_MOUSE, event, mouse
 
Constructor Summary
MouseLookHandler(Camera cam, float speed)
           
 
Method Summary
 MouseLook getMouseLook()
           
 void requireButtonPress(boolean value)
           
 void setLockAxis(Vector3f lock)
           
 
Methods inherited from class com.jme.input.InputHandler
addAction, addAction, addAction, addAction, addAction, addAction, addDevice, addToAttachedHandlers, clearActions, getBooleanProp, getDevices, getFloatProp, getFromAttachedHandlers, getIntProp, getObjectProp, getParent, isEnabled, processTriggers, removeAction, removeAction, removeAllActions, removeAllFromAttachedHandlers, removeFromAttachedHandlers, setActionSpeed, setActionSpeed, setEnabled, setEnabledOfAttachedHandlers, setParent, sizeOfAttachedHandlers, update, updateAttachedHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseLookHandler

public MouseLookHandler(Camera cam,
                        float speed)
Method Detail

requireButtonPress

public void requireButtonPress(boolean value)

setLockAxis

public void setLockAxis(Vector3f lock)

getMouseLook

public MouseLook getMouseLook()