U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::TouchState Struct Reference

#include </var/dev/u3d/stable/Source/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. @nocount

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: