public class InputEventUtils extends Object
Constructor and Description |
---|
InputEventUtils() |
Modifier and Type | Method and Description |
---|---|
static Point3D |
recomputeCoordinates(PickResult result,
Object newSource)
Recomputes event coordinates for a different node.
|
static List<TransferMode> |
safeTransferModes(TransferMode[] modes)
Makes sure changes to the static arrays specified in TransferMode
don't have any effect on the transfer modes used.
|
public static Point3D recomputeCoordinates(PickResult result, Object newSource)
coordinates
- Coordinates to recomputeoldSource
- Node in whose coordinate system the coordinates arenewSource
- Node to whose coordinate system to recomputepublic static List<TransferMode> safeTransferModes(TransferMode[] modes)
modes
- Modes passed in by userCopyright © 2020. All rights reserved.