public class MultiTouchCursorEvent extends MultiTouchEvent
| Constructor and Description |
|---|
MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position)
Instantiates a new multi touch cursor event.
|
MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position,
com.jme3.math.Vector2f velocity)
Instantiates a new multi touch cursor event.
|
MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position,
com.jme3.math.Vector2f velocity,
float pressure,
double angle)
Instantiates a new multi touch cursor event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getClickCount()
Gets the click count.
|
void |
setClickCount(int clickCount)
Sets the click count.
|
java.lang.String |
toString() |
getAngle, getCursorID, getLastEvent, getPosition, getPositionHistory, getPressure, getTimeOfCreationNanos, getVelocity, setPositionHistorypublic MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position)
id - the idposition - the positionpublic MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position,
com.jme3.math.Vector2f velocity)
id - the idposition - the positionvelocity - the velocitypublic MultiTouchCursorEvent(long id,
com.jme3.math.Vector2f position,
com.jme3.math.Vector2f velocity,
float pressure,
double angle)
id - the idposition - the positionvelocity - the velocitypressure - the pressureangle - the anglepublic int getClickCount()
public void setClickCount(int clickCount)
clickCount - the new click countpublic java.lang.String toString()
toString in class MultiTouchEvent