DDraceNetwork Docs
|
#include <input.h>
Public Attributes | |
CTouchFinger | m_Finger |
vec2 | m_Position |
vec2 | m_Delta |
std::chrono::nanoseconds | m_PressTime |
Represents the state of a particular touch finger currently being pressed down on a touch device.
vec2 IInput::CTouchFingerState::m_Delta |
The current delta of the finger. The x- and y-components of the delta are normalized to the range 0.0f
-1.0f
representing the absolute delta of the finger on the current touch device.
CTouchFinger IInput::CTouchFingerState::m_Finger |
The unique finger which this state is associated with.
vec2 IInput::CTouchFingerState::m_Position |
The current position of the finger. The x- and y-components of the position are normalized to the range 0.0f
-1.0f
representing the absolute position of the finger on the current touch device.
std::chrono::nanoseconds IInput::CTouchFingerState::m_PressTime |
The time when this finger was first pressed down.