Package | verlocity.display |
Class | public final class DisplayManager |
Inheritance | DisplayManager Singleton Object |
Method | Defined By | ||
---|---|---|---|
DisplayManager(sStage:Stage) | DisplayManager | ||
_Destruct():void [override]
Removes all display management data. | DisplayManager | ||
_IsValid():Boolean
Returns if this singleton is active/valid. | Singleton | ||
CanFullscreen():Boolean | DisplayManager | ||
GetQuality():int
Returns the stage quality integer (1-3, Low-High). | DisplayManager | ||
GetScreenRect():Rectangle
Gets the screen rect
| DisplayManager | ||
IsFullscreen():Boolean | DisplayManager | ||
SetFullscreen(bEnable:Boolean):void
Enables/disables fullscreen mode. | DisplayManager | ||
SetQuality(iQuality:int = 3):void
Sets the stage quality and displays a GUI message (if available). | DisplayManager | ||
ToggleFullscreen():void
Toggles full screen off/on. | DisplayManager |
DisplayManager | () | Constructor |
public function DisplayManager(sStage:Stage)
sStage:Stage |
_Destruct | () | method |
override public function _Destruct():void
Removes all display management data.
CanFullscreen | () | method |
public function CanFullscreen():Boolean
ReturnsBoolean |
GetQuality | () | method |
public function GetQuality():int
Returns the stage quality integer (1-3, Low-High).
Returnsint —
|
GetScreenRect | () | method |
public function GetScreenRect():Rectangle
Gets the screen rect
ReturnsRectangle —
|
IsFullscreen | () | method |
public function IsFullscreen():Boolean
ReturnsBoolean |
SetFullscreen | () | method |
public function SetFullscreen(bEnable:Boolean):void
Enables/disables fullscreen mode.
Parameters
bEnable:Boolean |
SetQuality | () | method |
public function SetQuality(iQuality:int = 3):void
Sets the stage quality and displays a GUI message (if available).
Parameters
iQuality:int (default = 3 ) — The quality to set to (1-3, Low-High).
|
ToggleFullscreen | () | method |
public function ToggleFullscreen():void
Toggles full screen off/on.