public interface View3D extends View
View.PointerType
Modifier and Type | Method and Description |
---|---|
float[] |
convertPixelLocationToVirtualWorld(int x,
int y)
Returns the coordinates of the 3D point matching the point (x, y) in component coordinates space.
|
Selectable |
getClosestSelectableItemAt(int x,
int y)
Returns the closest
Selectable object at component coordinates (x, y),
or null if not found. |
float[] |
getVirtualWorldPointAt(int x,
int y,
float elevation)
Returns the coordinates of the 3D point intersecting the plane at the given
elevation
in the direction joining camera location and component coordinates (x, y). |
Selectable getClosestSelectableItemAt(int x, int y)
Selectable
object at component coordinates (x, y),
or null
if not found.float[] convertPixelLocationToVirtualWorld(int x, int y)
float[] getVirtualWorldPointAt(int x, int y, float elevation)
elevation
in the direction joining camera location and component coordinates (x, y).
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License