Back to class index
Input[Class Summary]
EventTriggered
numMouseButtons[static][const]
ctor
~dtor
OnNewFrameStarted()
OnNewInputEvent(e)
IsKeyPressed(keyCode)
IsKeyDown(keyCode)
IsKeyReleased(keyCode)
ClearKeyHeldDown(keyCode)
KeyNumFramesHeldDown(keyCode)
KeyTimePressed(keyCode)
HeldDownKeys()
IsMouseButtonPressed(button)
IsMouseButtonDown(button)
IsMouseButtonReleased(button)
NumMouseButtonsHeldDown()[const]
MouseButtonNumFramesHeldDown(button)
MouseButtonTimePressed(button)
MousePos()
MouseButtonPressPos(button)
MouseDelta()
MouseDragDelta(button)
MouseWheelDelta()[const]
HeldDownMouseButtons()[const]
MouseButtonState()
NumTouchPoints()[const]
NumTouchPointsHeldDown()
NumTouchPointsPressed()
NumTouchPointsReleased()
TouchPointIDs()[const]
PressedTouchPointIDs()[const]
HeldTouchPointIDs()[const]
ReleasedTouchPointIDs()[const]
HeldTouchPointID(touchPointIndex)
HeldTouchPointIndex(touchPointID)
TouchPointByIndex(touchPointIndex)
TouchPointByID(touchPointID)
TouchPointState()

Input::TouchPointByIndex

Syntax

PointerEvent & Input::TouchPointByIndex(int touchPointIndex);

Returns the n'th touch point in the currently active touch point array.

Parameters

inttouchPointIndexThe index of the touch point, in the range [0, NumTouchPoints()-1].

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index