C# 클래스 MyPolarBear.Input.GamePadComponent

파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 메소드들

메소드 설명
GamePadComponent ( PlayerIndex playerIndex ) : System
GetThumbStickState ( Thumbstick thumbStick ) : Vector2
GetTriggerState ( Trigger trigger ) : float
IsButtonPressed ( Buttons button ) : bool
IsButtonReleased ( Buttons button ) : bool
IsConnected ( ) : bool
StartVibration ( ) : void
StopVibration ( ) : void
Update ( ) : void

메소드 상세

GamePadComponent() 공개 메소드

public GamePadComponent ( PlayerIndex playerIndex ) : System
playerIndex PlayerIndex
리턴 System

GetThumbStickState() 공개 메소드

public GetThumbStickState ( Thumbstick thumbStick ) : Vector2
thumbStick Thumbstick
리턴 Vector2

GetTriggerState() 공개 메소드

public GetTriggerState ( Trigger trigger ) : float
trigger Trigger
리턴 float

IsButtonPressed() 공개 메소드

public IsButtonPressed ( Buttons button ) : bool
button Buttons
리턴 bool

IsButtonReleased() 공개 메소드

public IsButtonReleased ( Buttons button ) : bool
button Buttons
리턴 bool

IsConnected() 공개 메소드

public IsConnected ( ) : bool
리턴 bool

StartVibration() 공개 메소드

public StartVibration ( ) : void
리턴 void

StopVibration() 공개 메소드

public StopVibration ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void