C# 클래스 Artemis.Engine.DisplayManager

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine 1 사용 예제들

공개 메소드들

메소드 설명
SetBackgroundColour ( Color colour ) : void
SetBorderless ( bool state ) : void

Set whether or not the window form has a border.

SetFullscreen ( bool state ) : void

Set whether or not the display is fullscreen.

SetMouseVisibility ( bool state ) : void

Set whether or not the mouse is visible.

SetResolution ( Resolution resolution ) : void
SetVSync ( bool state ) : void

Set whether or not vertical synchronization is used.

SetWindowTitle ( string name ) : void

Set the name of the window.

ToggleBorderless ( ) : void

Toggle whether or not the window form has a border.

ToggleFullscreen ( ) : void

Toggle whether or not the display is fullscreen.

ToggleMouseVisibility ( ) : void

Toggle whether or not the mouse is visible.

ToggleVSync ( ) : void

Toggle whether or not vertical synchronization is used.

비공개 메소드들

메소드 설명
DisplayManager ( GameKernel game, Artemis.Engine.RenderPipeline renderPipeline, Resolution baseResolution, string windowTitle, Color bgColor ) : System
RegisterResolutionChangeListener ( ResolutionRelativeObject obj ) : void
ReinitDisplayProperties ( bool overrideDirty = false ) : void

Initialize (or reinitialize) the properties of the screen form.

RemoveResolutionChangeListener ( ResolutionRelativeObject obj ) : void
UntogglableException ( string property, string element ) : DisplayManagerException

메소드 상세

SetBackgroundColour() 공개 메소드

public SetBackgroundColour ( Color colour ) : void
colour Color
리턴 void

SetBorderless() 공개 메소드

Set whether or not the window form has a border.
public SetBorderless ( bool state ) : void
state bool
리턴 void

SetFullscreen() 공개 메소드

Set whether or not the display is fullscreen.
public SetFullscreen ( bool state ) : void
state bool
리턴 void

SetMouseVisibility() 공개 메소드

Set whether or not the mouse is visible.
public SetMouseVisibility ( bool state ) : void
state bool
리턴 void

SetResolution() 공개 메소드

public SetResolution ( Resolution resolution ) : void
resolution Resolution
리턴 void

SetVSync() 공개 메소드

Set whether or not vertical synchronization is used.
public SetVSync ( bool state ) : void
state bool
리턴 void

SetWindowTitle() 공개 메소드

Set the name of the window.
public SetWindowTitle ( string name ) : void
name string
리턴 void

ToggleBorderless() 공개 메소드

Toggle whether or not the window form has a border.
public ToggleBorderless ( ) : void
리턴 void

ToggleFullscreen() 공개 메소드

Toggle whether or not the display is fullscreen.
public ToggleFullscreen ( ) : void
리턴 void

ToggleMouseVisibility() 공개 메소드

Toggle whether or not the mouse is visible.
public ToggleMouseVisibility ( ) : void
리턴 void

ToggleVSync() 공개 메소드

Toggle whether or not vertical synchronization is used.
public ToggleVSync ( ) : void
리턴 void