|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.cursorsystem.MultiTouchElement
synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
public abstract class TwoDMultiTouchElement
The Class TwoDMultiTouchElement.
| Field Summary |
|---|
| Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
|---|
AXIS_Z, DIRECTION_UP |
| Constructor Summary | |
|---|---|
TwoDMultiTouchElement(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new two d multi touch element. |
|
TwoDMultiTouchElement(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new two d multi touch element. |
|
| Method Summary | |
|---|---|
com.jme.math.Vector2f |
getCursorScreenPositionAtPick(int cursorIndex)
Gets the cursor screen position at pick. |
OrthogonalPickResultData |
getPickDataForCursorID(long id)
Gets the pick data for cursor id. |
OrthogonalPickResultData |
getPickResultFromCursorIndex(int index)
Gets the pick result from cursor index. |
com.jme.math.Vector2f |
getSpatial2DWorldPositionAtPick(int cursorIndex)
Gets the spatial2 d world position at pick. |
void |
registerScreenCursor(ScreenCursor c,
OrthogonalPickResultData nodeloc)
Register screen cursor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwoDMultiTouchElement(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial - the picking and target spatial
public TwoDMultiTouchElement(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
pickingSpatial - the picking spatialtargetSpatial - the target spatial| Method Detail |
|---|
public com.jme.math.Vector2f getCursorScreenPositionAtPick(int cursorIndex)
cursorIndex - the cursor index
public OrthogonalPickResultData getPickDataForCursorID(long id)
MultiTouchElement
getPickDataForCursorID in class MultiTouchElementid - the id
public OrthogonalPickResultData getPickResultFromCursorIndex(int index)
MultiTouchElement
getPickResultFromCursorIndex in class MultiTouchElementindex - the index
public com.jme.math.Vector2f getSpatial2DWorldPositionAtPick(int cursorIndex)
cursorIndex - the cursor index
public void registerScreenCursor(ScreenCursor c,
OrthogonalPickResultData nodeloc)
c - the cnodeloc - the nodeloc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||