C# 클래스 Project290.Inputs.ControllerPacket

Used for representing what actions were pressed at a point in time. This is a bit different than XNA's controller, because this includes timing, is a mix between keyboard and controller, and is a bit easier to use.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AButton bool
AButtonFirst bool
BButton bool
BButtonFirst bool
DPadDown bool
DPadLeft bool
DPadRight bool
DPadUp bool
GoBack bool
LeftBumper bool
LeftBumperFirst bool
LeftTrigger float
LookHorizontal float
LookVertical float
MoveHorizontal float
MoveVertical float
Pause bool
RightBumper bool
RightBumperFirst bool
RightTrigger float
Select bool
SelectionDown bool
SelectionLeft bool
SelectionRight bool
SelectionUp bool
XButton bool
XButtonFirst bool
YButton bool
YButtonFirst bool

공개 메소드들

메소드 설명
Clear ( ) : void

Clears this instance.

ControllerPacket ( ) : System

Initializes a new instance of the ControllerPacket class.

메소드 상세

Clear() 공개 메소드

Clears this instance.
public Clear ( ) : void
리턴 void

ControllerPacket() 공개 메소드

Initializes a new instance of the ControllerPacket class.
public ControllerPacket ( ) : System
리턴 System

프로퍼티 상세

AButton 공개적으로 프로퍼티

public bool AButton
리턴 bool

AButtonFirst 공개적으로 프로퍼티

public bool AButtonFirst
리턴 bool

BButton 공개적으로 프로퍼티

public bool BButton
리턴 bool

BButtonFirst 공개적으로 프로퍼티

public bool BButtonFirst
리턴 bool

DPadDown 공개적으로 프로퍼티

public bool DPadDown
리턴 bool

DPadLeft 공개적으로 프로퍼티

public bool DPadLeft
리턴 bool

DPadRight 공개적으로 프로퍼티

public bool DPadRight
리턴 bool

DPadUp 공개적으로 프로퍼티

public bool DPadUp
리턴 bool

GoBack 공개적으로 프로퍼티

public bool GoBack
리턴 bool

LeftBumper 공개적으로 프로퍼티

public bool LeftBumper
리턴 bool

LeftBumperFirst 공개적으로 프로퍼티

public bool LeftBumperFirst
리턴 bool

LeftTrigger 공개적으로 프로퍼티

public float LeftTrigger
리턴 float

LookHorizontal 공개적으로 프로퍼티

public float LookHorizontal
리턴 float

LookVertical 공개적으로 프로퍼티

public float LookVertical
리턴 float

MoveHorizontal 공개적으로 프로퍼티

public float MoveHorizontal
리턴 float

MoveVertical 공개적으로 프로퍼티

public float MoveVertical
리턴 float

Pause 공개적으로 프로퍼티

public bool Pause
리턴 bool

RightBumper 공개적으로 프로퍼티

public bool RightBumper
리턴 bool

RightBumperFirst 공개적으로 프로퍼티

public bool RightBumperFirst
리턴 bool

RightTrigger 공개적으로 프로퍼티

public float RightTrigger
리턴 float

Select 공개적으로 프로퍼티

public bool Select
리턴 bool

SelectionDown 공개적으로 프로퍼티

public bool SelectionDown
리턴 bool

SelectionLeft 공개적으로 프로퍼티

public bool SelectionLeft
리턴 bool

SelectionRight 공개적으로 프로퍼티

public bool SelectionRight
리턴 bool

SelectionUp 공개적으로 프로퍼티

public bool SelectionUp
리턴 bool

XButton 공개적으로 프로퍼티

public bool XButton
리턴 bool

XButtonFirst 공개적으로 프로퍼티

public bool XButtonFirst
리턴 bool

YButton 공개적으로 프로퍼티

public bool YButton
리턴 bool

YButtonFirst 공개적으로 프로퍼티

public bool YButtonFirst
리턴 bool