|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.pickingsystem.data.PickResultData
synergynetframework.jme.pickingsystem.data.ThreeDPickResultData
public class ThreeDPickResultData
The Class ThreeDPickResultData.
| Constructor Summary | |
|---|---|
ThreeDPickResultData(long originatingCursorID,
com.jme.math.Vector2f cursorScreenPositionAtPick,
com.jme.scene.Spatial pickedSpatial)
Instantiates a new three d pick result data. |
|
| Method Summary | |
|---|---|
com.jme.math.Vector2f |
getCursorScreenPositionAtPick()
Position of the cursor when the spatial was picked. |
com.jme.math.Vector2f |
getCursorToSpatialScreenOffset()
Difference between the screen location of the spatial and the screen location of the cursor. |
com.jme.math.Vector3f |
getPointOfSelection()
Where, in world coordinates, the pick was made. |
com.jme.math.Vector2f |
getSpatialScreenLocationAtPick()
Screen position of the picked spatial when it was picked. |
void |
setPointOfSelection(com.jme.math.Vector3f pointOfSelection)
Where, in world coordinates, the pick was made. |
| Methods inherited from class synergynetframework.jme.pickingsystem.data.PickResultData |
|---|
getDistanceWhenPicked, getOriginatingCursorID, getPickedSpatial, getPickedSpatialName, setDistanceWhenPicked, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreeDPickResultData(long originatingCursorID,
com.jme.math.Vector2f cursorScreenPositionAtPick,
com.jme.scene.Spatial pickedSpatial)
originatingCursorID - the originating cursor idcursorScreenPositionAtPick - the cursor screen position at pickpickedSpatial - the picked spatial| Method Detail |
|---|
public com.jme.math.Vector2f getCursorScreenPositionAtPick()
public com.jme.math.Vector2f getCursorToSpatialScreenOffset()
public com.jme.math.Vector3f getPointOfSelection()
public com.jme.math.Vector2f getSpatialScreenLocationAtPick()
public void setPointOfSelection(com.jme.math.Vector3f pointOfSelection)
pointOfSelection - the new point of selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||