Class TouchAppState.PointerData

java.lang.Object
com.simsilica.lemur.event.TouchAppState.PointerData
Enclosing class:
TouchAppState

protected class TouchAppState.PointerData extends Object
Storage class for the session and last location of the touch events for a single pointer (finger for touch).
Not using a Vector2f to minimize garbage collection since the touch event from jME provides 2 floats for x and y.
  • Constructor Details

    • PointerData

      protected PointerData(int pointerId, PickEventSession session, int lastX, int lastY)