Urho3D::TouchState Struct Reference

#include <Urho3D/Input/Input.h>

Collaboration diagram for Urho3D::TouchState:
[legend]

Public Member Functions

UIElementGetTouchedElement ()
 

Public Attributes

int touchID_
 Touch (finger) ID.
 
IntVector2 position_
 Position in screen coordinates.
 
IntVector2 lastPosition_
 Last position in screen coordinates.
 
IntVector2 delta_
 Movement since last frame.
 
float pressure_
 Finger pressure.
 
WeakPtr< UIElementtouchedElement_
 Last touched UI element from screen joystick.
 

Detailed Description

Input state for a finger touch.

Member Function Documentation

◆ GetTouchedElement()

UIElement * Urho3D::TouchState::GetTouchedElement ( )

Return last touched UI element, used by scripting integration.


The documentation for this struct was generated from the following files:
  • Source/Urho3D/Input/Input.h
  • Source/Urho3D/Input/Input.cpp