public class DragEvent
extends java.lang.Object
Constructor and Description |
---|
DragEvent(DragSession session,
com.simsilica.lemur.event.AbstractCursorEvent cursorEvent) |
DragEvent(DragSession session,
com.simsilica.lemur.event.AbstractCursorEvent cursorEvent,
com.jme3.collision.CollisionResult collision) |
Modifier and Type | Method and Description |
---|---|
com.jme3.collision.CollisionResult |
getCollision() |
com.jme3.math.Vector2f |
getLocation() |
DragSession |
getSession() |
com.jme3.scene.Spatial |
getTarget() |
com.jme3.renderer.ViewPort |
getViewPort() |
float |
getX() |
float |
getY() |
java.lang.String |
toString() |
public DragEvent(DragSession session, com.simsilica.lemur.event.AbstractCursorEvent cursorEvent)
public DragEvent(DragSession session, com.simsilica.lemur.event.AbstractCursorEvent cursorEvent, com.jme3.collision.CollisionResult collision)
public DragSession getSession()
public float getX()
public float getY()
public com.jme3.math.Vector2f getLocation()
public com.jme3.collision.CollisionResult getCollision()
public com.jme3.renderer.ViewPort getViewPort()
public com.jme3.scene.Spatial getTarget()
public java.lang.String toString()
toString
in class java.lang.Object