|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.pickingsystem.data.PickResultData
public class PickResultData
The Class PickResultData.
| Constructor Summary | |
|---|---|
PickResultData(long originatingCursorID,
com.jme.scene.Spatial pickedSpatial)
Instantiates a new pick result data. |
|
| Method Summary | |
|---|---|
float |
getDistanceWhenPicked()
Gets the distance when picked. |
long |
getOriginatingCursorID()
Retrieve the ID of the cursor that caused the pick. |
com.jme.scene.Spatial |
getPickedSpatial()
The jME spatial that was picked. |
java.lang.String |
getPickedSpatialName()
Utility method to get the name of the spatial. |
void |
setDistanceWhenPicked(float distance)
Sets the distance when picked. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PickResultData(long originatingCursorID,
com.jme.scene.Spatial pickedSpatial)
originatingCursorID - the originating cursor idpickedSpatial - the picked spatial| Method Detail |
|---|
public float getDistanceWhenPicked()
public long getOriginatingCursorID()
public com.jme.scene.Spatial getPickedSpatial()
public java.lang.String getPickedSpatialName()
public void setDistanceWhenPicked(float distance)
distance - the new distance when pickedpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||