|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.jme.pickingsystem.JMEMultiTouchPickSystem
public class JMEMultiTouchPickSystem
Default implementation of IJMEMultiTouchPickSystem. Pick requests are screen locations. Pick results are names of Spatials that are picked at that screen location.
Method Summary | |
---|---|
java.util.List<PickResultData> |
doPick(PickRequest pickRequest)
Do pick. |
java.util.List<PickResultData> |
doPick(PickRequest pickRequest,
boolean worldNodeOnly)
Do pick. |
static JMEMultiTouchPickSystem |
getInstance()
Gets the single instance of JMEMultiTouchPickSystem. |
static void |
printPickResults(java.util.List<PickResultData> pr2)
Prints the pick results. |
static void |
printPickResults(com.jme.intersection.PickResults pr2)
Prints the pick results. |
void |
setOrthogonalPickingRoot(com.jme.scene.Node twod)
Sets the orthogonal picking root. |
void |
setPickingRootNode(com.jme.scene.Node rootNode)
Sets the picking root node. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JMEMultiTouchPickSystem getInstance()
public static void printPickResults(java.util.List<PickResultData> pr2)
pr2
- the pr2public static void printPickResults(com.jme.intersection.PickResults pr2)
pr2
- the pr2public java.util.List<PickResultData> doPick(PickRequest pickRequest) throws PickSystemException
IJMEMultiTouchPicker
doPick
in interface IJMEMultiTouchPicker
pickRequest
- the pick request
PickSystemException
- the pick system exceptionpublic java.util.List<PickResultData> doPick(PickRequest pickRequest, boolean worldNodeOnly) throws PickSystemException
IJMEMultiTouchPicker
doPick
in interface IJMEMultiTouchPicker
pickRequest
- the pick requestworldNodeOnly
- the world node only
PickSystemException
- the pick system exceptionpublic void setOrthogonalPickingRoot(com.jme.scene.Node twod) throws PickSystemException
IJMEMultiTouchPicker
setOrthogonalPickingRoot
in interface IJMEMultiTouchPicker
twod
- the new orthogonal picking root
PickSystemException
- the pick system exceptionpublic void setPickingRootNode(com.jme.scene.Node rootNode) throws PickSystemException
IJMEMultiTouchPicker
setPickingRootNode
in interface IJMEMultiTouchPicker
rootNode
- the new picking root node
PickSystemException
- the pick system exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |