|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.input.action.InputAction
com.jme.input.action.KeyInputAction
com.jme.input.action.KeyNodeStrafeRightAction
public class KeyNodeStrafeRightAction
KeyNodeStrafeRightAction defines an action that moves a node
along the negative left vector. The speed at which it moves is set and of the
form units per second.
| Field Summary |
|---|
| Fields inherited from class com.jme.input.action.InputAction |
|---|
speed |
| Constructor Summary | |
|---|---|
KeyNodeStrafeRightAction(Spatial node,
float speed)
Constructor instantiates a new KeyNodeStrafeRightAction
object. |
|
| Method Summary | |
|---|---|
void |
performAction(InputActionEvent evt)
performAction moves the camera along the negative left
vector for a given distance of speed * time. |
| Methods inherited from class com.jme.input.action.InputAction |
|---|
getSpeed, setSpeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyNodeStrafeRightAction(Spatial node,
float speed)
KeyNodeStrafeRightAction
object.
node - the node to move along the left vector.speed - the speed at which to move the node.| Method Detail |
|---|
public void performAction(InputActionEvent evt)
performAction moves the camera along the negative left
vector for a given distance of speed * time.
evt - the event that triggered the perform action method.InputActionInterface.performAction(InputActionEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||