Functions
Const getGameResolutionHeight
Const getGameResolutionWidth
Const getWindowInnerHeight
- getWindowInnerHeight(): number
Const getWindowInnerWidth
- getWindowInnerWidth(): number
Const isFullScreen
Parameters
Returns boolean
Const setAdaptGameResolutionAtRuntime
- setAdaptGameResolutionAtRuntime(runtimeScene: RuntimeScene, enable: boolean): void
Const setFullScreen
- setFullScreen(runtimeScene: RuntimeScene, enable: boolean, keepAspectRatio: boolean): void
Parameters
enable: boolean
keepAspectRatio: boolean
Returns void
Const setGameResolutionResizeMode
- setGameResolutionResizeMode(runtimeScene: RuntimeScene, resizeMode: string): void
Const setGameResolutionSize
- setGameResolutionSize(runtimeScene: RuntimeScene, width: number, height: number): void
Parameters
width: number
height: number
Returns void
Const setMargins
- setMargins(runtimeScene: RuntimeScene, top: number, right: number, bottom: number, left: number): void
Parameters
top: number
right: number
bottom: number
left: number
Returns void
Const setWindowSize
- setWindowSize(runtimeScene: RuntimeScene, width: number, height: number, updateGameResolution: boolean): void
Parameters
width: number
height: number
updateGameResolution: boolean
Returns void
Const setWindowTitle
- setWindowTitle(runtimeScene: RuntimeScene, title: string): void
Tools related to window, for events generated code.