public abstract class AbstractCursorEvent
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractCursorEvent(com.jme3.renderer.ViewPort view,
com.jme3.scene.Spatial target,
float x,
float y,
com.jme3.collision.CollisionResult collision) |
Modifier and Type | Method and Description |
---|---|
com.jme3.collision.CollisionResult |
getCollision() |
com.jme3.math.Vector2f |
getLocation() |
com.jme3.math.Vector3f |
getRelativeViewCoordinates(com.jme3.scene.Spatial relativeTo,
com.jme3.math.Vector3f pos) |
com.jme3.scene.Spatial |
getTarget() |
com.jme3.renderer.ViewPort |
getViewPort() |
float |
getX() |
float |
getY() |
boolean |
isConsumed() |
protected java.lang.String |
parmsToString() |
void |
setConsumed() |
java.lang.String |
toString() |
protected AbstractCursorEvent(com.jme3.renderer.ViewPort view, com.jme3.scene.Spatial target, float x, float y, com.jme3.collision.CollisionResult collision)
public com.jme3.renderer.ViewPort getViewPort()
public com.jme3.scene.Spatial getTarget()
public float getX()
public float getY()
public com.jme3.math.Vector2f getLocation()
public com.jme3.collision.CollisionResult getCollision()
public void setConsumed()
public boolean isConsumed()
public com.jme3.math.Vector3f getRelativeViewCoordinates(com.jme3.scene.Spatial relativeTo, com.jme3.math.Vector3f pos)
protected java.lang.String parmsToString()
public java.lang.String toString()
toString
in class java.lang.Object