public class KeyNavigator extends Object
Constructor and Description |
---|
KeyNavigator(org.jogamp.java3d.TransformGroup targetTG)
Constructs a new key navigator object that operates on the specified
transform group.
|
Modifier and Type | Method and Description |
---|---|
void |
integrateTransformChanges()
Computes a new transform for the next frame based on
the current transform, accumulated keyboard inputs, and
elapsed time.
|
void |
processKeyEvent(KeyEvent keyEvent)
Processed a keyboard event.
|
public KeyNavigator(org.jogamp.java3d.TransformGroup targetTG)
targetTG
- the target transform grouppublic void integrateTransformChanges()
public void processKeyEvent(KeyEvent keyEvent)
keyEvent
- the AWT key eventCopyright © 2019. All rights reserved.