Struct SDLTouchDispatcher.SDL_TouchFingerEvent
A structure that contains finger touch event information.
Inherited Members
Namespace: Evergine.SDL
Assembly: Evergine.SDL.dll
Syntax
public struct SDLTouchDispatcher.SDL_TouchFingerEvent
Fields
dx
The distance moved in the x-axis, normalized (-1...1).
Declaration
public float dx
Field Value
Type | Description |
---|---|
float |
dy
The distance moved in the y-axis, normalized (-1...1).
Declaration
public float dy
Field Value
Type | Description |
---|---|
float |
fingerId
The finger id.
Declaration
public long fingerId
Field Value
Type | Description |
---|---|
long |
pressure
The quantity of pressure applied, normalized (0...1).
Declaration
public float pressure
Field Value
Type | Description |
---|---|
float |
timestamp
timestamp of the event.
Declaration
public uint timestamp
Field Value
Type | Description |
---|---|
uint |
touchId
The touch device id.
Declaration
public long touchId
Field Value
Type | Description |
---|---|
long |
type
SDL_FINGERMOTION, SDL_FINGERDOWN, or SDL_FINGERUP.
Declaration
public SDL_EventType type
Field Value
Type | Description |
---|---|
SDL_EventType |
x
The x-axis location of the touch event, normalized (0...1).
Declaration
public float x
Field Value
Type | Description |
---|---|
float |
y
The y-axis location of the touch event, normalized (0...1).
Declaration
public float y
Field Value
Type | Description |
---|---|
float |