C# 클래스 OpenTK.Platform.SDL2.Sdl2Mouse

상속: IMouseDriver2, IMouseDriver
파일 보기 프로젝트 열기: andykorth/opentk 1 사용 예제들

공개 메소드들

메소드 설명
GetState ( ) : MouseState
GetState ( int index ) : MouseState
ProcessMouseEvent ( SDL motion ) : void
ProcessWheelEvent ( SDL wheel ) : void
Sdl2Mouse ( ) : System
SetPosition ( double x, double y ) : void

비공개 메소드들

메소드 설명
SetButtonState ( MouseButton button, bool pressed ) : void
TranslateButton ( uint button ) : MouseButton

메소드 상세

GetState() 공개 메소드

public GetState ( ) : MouseState
리턴 MouseState

GetState() 공개 메소드

public GetState ( int index ) : MouseState
index int
리턴 MouseState

ProcessMouseEvent() 공개 메소드

public ProcessMouseEvent ( SDL motion ) : void
motion SDL
리턴 void

ProcessWheelEvent() 공개 메소드

public ProcessWheelEvent ( SDL wheel ) : void
wheel SDL
리턴 void

Sdl2Mouse() 공개 메소드

public Sdl2Mouse ( ) : System
리턴 System

SetPosition() 공개 메소드

public SetPosition ( double x, double y ) : void
x double
y double
리턴 void