SFML.Net
TouchGetPosition Method (UInt32, Window) |
This function returns the current touch position
relative to the given window
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)

public static Vector2i GetPosition( uint Finger, Window RelativeTo )
Public Shared Function GetPosition ( Finger As UInteger, RelativeTo As Window ) As Vector2i
public: static Vector2i GetPosition( unsigned int Finger, Window^ RelativeTo )
static member GetPosition : Finger : uint32 * RelativeTo : Window -> Vector2i
Parameters
- Finger
- Type: SystemUInt32
Finger index - RelativeTo
- Type: SFML.WindowWindow
Reference window
Return Value
Type: Vector2iCurrent position of the finger
