The AppElement interface provides properties and methods for manipulating <pc-app> elements. The AppElement interface also inherits the properties and methods of the HTMLElement interface.

Hierarchy (View Summary)

Properties

app: Application = null

The PlayCanvas application instance.

Accessors

  • get highResolution(): boolean
  • Gets the high resolution flag.

    Returns boolean

    The high resolution flag.

  • set highResolution(value: boolean): void
  • Sets the high resolution flag. When true, the application will render at the device's physical resolution. When false, the application will render at CSS resolution.

    Parameters

    • value: boolean

      The high resolution flag.

    Returns void

Methods