|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.input.action.KeyInputAction
com.jme.input.action.KeyLookUpAction
KeyLookUpAction tilts a camera up a given angle. This angle
should be represented as a radian.
| Field Summary |
| Fields inherited from class com.jme.input.action.KeyInputAction |
allowsRepeats, key, keyChar, speed |
| Constructor Summary | |
KeyLookUpAction(Camera camera,
float speed)
Constructor instantiates a new KeyLookUpAction object. |
|
| Method Summary | |
void |
performAction(InputActionEvent evt)
performAction adjusts the view of the camera to tilt up a
given angle. |
| Methods inherited from class com.jme.input.action.KeyInputAction |
allowsRepeats, getKey, getKeyChar, getSpeed, setAllowsRepeats, setKey, setKeyChar, setSpeed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyLookUpAction(Camera camera,
float speed)
KeyLookUpAction object.
camera - the camera to tilt.speed - the speed at which the camera tilts.| Method Detail |
public void performAction(InputActionEvent evt)
performAction adjusts the view of the camera to tilt up a
given angle. This angle is determined by the camera's speed and the time
which has passed.
evt - the event that triggered the perform action method.InputAction.performAction(InputActionEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||