C# 클래스 SGDE.Input.Touchscreen

A touchscreen input device.
상속: InputComponent
파일 보기 프로젝트 열기: sgdc/sgdc-old

공개 메소드들

메소드 설명
GetCurrentState ( ) : TouchCollection

Get the current Mouse input state.

GetDiffLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation

Get the difference between present and past touch locations for the specified ID. Only points that exist on both are returned. All fields (besides ID and Position) are ignored.

GetGesture ( ) : GestureSample

Get's a gesture if one exists. IsGesturesAvalible

GetLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation

Get the current touch location for the specified ID.

GetPastLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation

Get the past touch location for the specified ID.

GetPastState ( ) : TouchCollection

Get the past Mouse input state.

GetPastTouchLocations ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]

Get the past touch locations.

GetTouchLocations ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]

Get the current touch locations.

GetTouchLocationsDIff ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]

Get the difference between touch locations. This matches up TouchLocations by ID and returns the difference between them. Only points that exist on both are returned. All fields (besides ID and Position) are ignored.

비공개 메소드들

메소드 설명
Touchscreen ( InputManager manager ) : System

메소드 상세

GetCurrentState() 공개 메소드

Get the current Mouse input state.
public GetCurrentState ( ) : TouchCollection
리턴 TouchCollection

GetDiffLocationByID() 공개 메소드

Get the difference between present and past touch locations for the specified ID. Only points that exist on both are returned. All fields (besides ID and Position) are ignored.
public GetDiffLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation
id int The ID of the touch locations to get the difference of.
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation

GetGesture() 공개 메소드

Get's a gesture if one exists. IsGesturesAvalible
public GetGesture ( ) : GestureSample
리턴 Microsoft.Xna.Framework.Input.Touch.GestureSample

GetLocationByID() 공개 메소드

Get the current touch location for the specified ID.
public GetLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation
id int The ID of the touch location.
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation

GetPastLocationByID() 공개 메소드

Get the past touch location for the specified ID.
public GetPastLocationByID ( int id ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation
id int The ID of the past touch location.
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation

GetPastState() 공개 메소드

Get the past Mouse input state.
public GetPastState ( ) : TouchCollection
리턴 TouchCollection

GetPastTouchLocations() 공개 메소드

Get the past touch locations.
public GetPastTouchLocations ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation[]

GetTouchLocations() 공개 메소드

Get the current touch locations.
public GetTouchLocations ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation[]

GetTouchLocationsDIff() 공개 메소드

Get the difference between touch locations. This matches up TouchLocations by ID and returns the difference between them. Only points that exist on both are returned. All fields (besides ID and Position) are ignored.
public GetTouchLocationsDIff ( ) : Microsoft.Xna.Framework.Input.Touch.TouchLocation[]
리턴 Microsoft.Xna.Framework.Input.Touch.TouchLocation[]