Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

System values

  • Last UpdatedSep 17, 2025
  • 4 minute read

Some defines are automatically created by the XR Viewer as it starts.

These defines can implement conditional code that operates based on the define status.

Define

XR-WIN

XR-P-WIN

XR-P-IOS

XR-P-AND

XR-P-WASM

Description

system.bannerNagscreen

Full support

When True, the company brand banner displays in the lower right of the screen.

system.debug

Full support

When True, the application runs with debug panels open.

system.deviceFlavor

Full support

Full support

The type of device the application is running on. For example: Phone or Tablet.

system.deviceModel

Full support

Full support

The device model on which the application is running. For example: SMG-950U, iPad10.

system.language

Full support

Shows current selected language code.

system.licenseCapabilityTags

Full support

Shows tags representing licensed products for currently used license.

system.licenseKey

Full support

Encryption key used for tagging the release package.

system.logoNagscreen

Full support

When True, the company brand logo displays in the upper left of the screen.

system.osVersion

Full support

Full support

The operating system of the device on which the application is running. For example: iOS or Android.

system.platform

Full support

Full support

Full support

Full support

Full support

Displays the XR Engine version that is running the application:

  • win64 – Windows (XR-WIN)

  • win64_cloud - Windows (XR-WIN-CLOUD)

  • win64_nx – Windows (XR-P-WIN)

  • ios_nx – iOs (XR-P-IOS)

  • android_nx – Android (XR-P-AND)

    Depending on the platform, this value can be used to branch the code.

    Can be set in the project config.xml file in the Platform.target item.

system.renderMode

Full support

Specifies FGI or HDR as selected rendering pipeline.

system.screenRatio

Full support

Full support

The aspect ratio of the screen where the application is running.

system.screenSize

Full support

Full support

The resolution supported by the device, including Width and Height.

system.sdk

Full support

Set to True when the application is run with an SDK license.

system.stereoMode

Full support

Full support

Full support

Full support

Full support

Specifies the stereo mode.

  • oculus when Oculus rendering pipeline is targeted.

  • open_vr when HTC Vive rendering pipeline is targeted.

  • auto when not set to a specific stereo mode.

  • dualhead when running within a dualhead pipeline.

  • hololens when running on Hololens 2.

  • none is the value set in XR-P when not running on Hololens 2.

system.version

Full support

Full support

Indicates the XR Framework version.

Related Links
TitleResults for “How to create a CRG?”Also Available in