C# Класс SFML.Window.Touch

Give access to the real-time state of the touches
Показать файл Открыть проект

Открытые методы

Метод Описание
GetPosition ( uint Finger ) : Vector2i

This function returns the current touch position

GetPosition ( uint Finger, Window RelativeTo ) : Vector2i

This function returns the current touch position relative to the given window

IsDown ( uint Finger ) : bool

Check if a touch event is currently down

Приватные методы

Метод Описание
sfTouch_getPosition ( uint Finger, IntPtr RelativeTo ) : Vector2i
sfTouch_isDown ( uint Finger ) : bool

Описание методов

GetPosition() публичный статический Метод

This function returns the current touch position
public static GetPosition ( uint Finger ) : Vector2i
Finger uint Finger index
Результат Vector2i

GetPosition() публичный статический Метод

This function returns the current touch position relative to the given window
public static GetPosition ( uint Finger, Window RelativeTo ) : Vector2i
Finger uint Finger index
RelativeTo Window Reference window
Результат Vector2i

IsDown() публичный статический Метод

Check if a touch event is currently down
public static IsDown ( uint Finger ) : bool
Finger uint Finger index
Результат bool