C# 클래스 SFML.Window.KeyEventArgs

Keyboard event parameters
상속: System.EventArgs
파일 보기 프로젝트 열기: SFML/SFML.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Alt bool
Code Keyboard.Key
Control bool
Shift bool
System bool

공개 메소드들

메소드 설명
KeyEventArgs ( KeyEvent e ) : System

Construct the key arguments from a key event

ToString ( ) : string

Provide a string describing the object

메소드 상세

KeyEventArgs() 공개 메소드

Construct the key arguments from a key event
public KeyEventArgs ( KeyEvent e ) : System
e KeyEvent Key event
리턴 System

ToString() 공개 메소드

Provide a string describing the object
public ToString ( ) : string
리턴 string

프로퍼티 상세

Alt 공개적으로 프로퍼티

Is the Alt modifier pressed?
public bool Alt
리턴 bool

Code 공개적으로 프로퍼티

Code of the key (see KeyCode enum)
public Keyboard.Key Code
리턴 Keyboard.Key

Control 공개적으로 프로퍼티

Is the Control modifier pressed?
public bool Control
리턴 bool

Shift 공개적으로 프로퍼티

Is the Shift modifier pressed?
public bool Shift
리턴 bool

System 공개적으로 프로퍼티

Is the System modifier pressed?
public bool System
리턴 bool