C# 클래스 SFML.Window.Touch

Give access to the real-time state of the touches
파일 보기 프로젝트 열기: SFML/SFML.Net

공개 메소드들

메소드 설명
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