Options
All
  • Public
  • Public/Protected
  • All
Menu

Tools related to window, for events generated code.

Index

Functions

  • getWindowInnerHeight(): number
  • Returns number

  • getWindowInnerWidth(): number
  • Returns number

  • setAdaptGameResolutionAtRuntime(runtimeScene: RuntimeScene, enable: boolean): void
  • Parameters

    Returns void

  • setFullScreen(runtimeScene: RuntimeScene, enable: boolean, keepAspectRatio: boolean): void
  • Parameters

    • runtimeScene: RuntimeScene
    • enable: boolean
    • keepAspectRatio: boolean

    Returns void

  • setGameResolutionResizeMode(runtimeScene: RuntimeScene, resizeMode: string): void
  • Parameters

    Returns void

  • setGameResolutionSize(runtimeScene: RuntimeScene, width: number, height: number): void
  • Parameters

    Returns void

  • setMargins(runtimeScene: RuntimeScene, top: number, right: number, bottom: number, left: number): void
  • Parameters

    • runtimeScene: RuntimeScene
    • top: number
    • right: number
    • bottom: number
    • left: number

    Returns void

  • setWindowSize(runtimeScene: RuntimeScene, width: number, height: number, updateGameResolution: boolean): void
  • Parameters

    • runtimeScene: RuntimeScene
    • width: number
    • height: number
    • updateGameResolution: boolean

    Returns void

  • setWindowTitle(runtimeScene: RuntimeScene, title: string): void
  • Parameters

    Returns void

Generated using TypeDoc