UiRendererOptions: {
    screenInset?: UiScreenInset;
    virtualHeight?: number;
    virtualWidth?: number;
}

Type declaration

  • Optional screenInset?: UiScreenInset

    Screen area the renderer's UI is positioned in. Defaults to 'device', so UI stays inside the device safe area unless the creator opts out with 'none'. Each renderer honors its own value, so the main UI and additional renderers can use different insets simultaneously.

  • Optional virtualHeight?: number
  • Optional virtualWidth?: number