|
U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
#include </var/dev/u3d/stable/Source/Urho3D/Input/Input.h>
Public Member Functions | |
| UIElement * | GetTouchedElement () |
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< UIElement > | touchedElement_ |
| Last touched UI element from screen joystick. | |
Input state for a finger touch. @nocount
| UIElement * Urho3D::TouchState::GetTouchedElement | ( | ) |
Return last touched UI element, used by scripting integration.