|
|||||||||||
| 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.KeyToggleRenderState
Toggles a renderstate enabled/disabled.
| Field Summary |
| Fields inherited from class com.jme.input.action.KeyInputAction |
allowsRepeats, key, keyChar, speed |
| Constructor Summary | |
KeyToggleRenderState(RenderState state,
Node owner)
instantiates a new KeyToggleRenderState object. |
|
| Method Summary | |
void |
performAction(InputActionEvent evt)
switch the state from on to off or off to on. |
| 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 KeyToggleRenderState(RenderState state,
Node owner)
state - the state to switch.owner - the owner of the state.| Method Detail |
public void performAction(InputActionEvent evt)
evt - the event that executed the action.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||