Urho3D
Public Member Functions | Public Attributes | List of all members
Dviglo::TouchState Struct Reference

#include </home/runner/work/Dviglo/Dviglo/DvigloRepository/Source/Urho3D/Input/Input.h>

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 * Dviglo::TouchState::GetTouchedElement ( )

Return last touched UI element, used by scripting integration.


The documentation for this struct was generated from the following files: