DDraceNetwork Docs
IInput::CTouchFingerState Class Reference

#include <input.h>

Collaboration diagram for IInput::CTouchFingerState:
[legend]

Public Attributes

CTouchFinger m_Finger
 
vec2 m_Position
 
vec2 m_Delta
 
std::chrono::nanoseconds m_PressTime
 

Detailed Description

Represents the state of a particular touch finger currently being pressed down on a touch device.

Member Data Documentation

◆ m_Delta

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.

Remarks
This is reset to zero at the end of each frame.

◆ m_Finger

CTouchFinger IInput::CTouchFingerState::m_Finger

The unique finger which this state is associated with.

◆ m_Position

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.

◆ m_PressTime

std::chrono::nanoseconds IInput::CTouchFingerState::m_PressTime

The time when this finger was first pressed down.


The documentation for this class was generated from the following file: