public class KeyNavigator extends Object
Constructor and Description |
---|
KeyNavigator(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(TransformGroup targetTG)
targetTG
- the target transform grouppublic void integrateTransformChanges()
public void processKeyEvent(KeyEvent keyEvent)
keyEvent
- the AWT key eventCopyright © 2016–2022 SciJava. All rights reserved.