|
||||||||||
| 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.KeyToggleRenderState
public class KeyToggleRenderState
Toggles a renderstate enabled/disabled. Created on Jul 21, 2004
| Field Summary |
|---|
| Fields inherited from class com.jme.input.action.InputAction |
|---|
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.InputAction |
|---|
getSpeed, 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 | |||||||||