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 |
|
When True, the company brand banner displays in the lower right of the screen. |
||||
|
system.debug |
|
When True, the application runs with debug panels open. |
||||
|
system.deviceFlavor |
|
|
The type of device the application is running on. For example: Phone or Tablet. |
|||
|
system.deviceModel |
|
|
The device model on which the application is running. For example: SMG-950U, iPad10. |
|||
|
system.language |
|
Shows current selected language code. |
||||
|
system.licenseCapabilityTags |
|
Shows tags representing licensed products for currently used license. |
||||
|
system.licenseKey |
|
Encryption key used for tagging the release package. |
||||
|
system.logoNagscreen |
|
When True, the company brand logo displays in the upper left of the screen. |
||||
|
system.osVersion |
|
|
The operating system of the device on which the application is running. For example: iOS or Android. |
|||
|
system.platform |
|
|
|
|
|
Displays the XR Engine version that is running the application:
|
|
system.renderMode |
|
Specifies FGI or HDR as selected rendering pipeline. |
||||
|
system.screenRatio |
|
|
The aspect ratio of the screen where the application is running. |
|||
|
system.screenSize |
|
|
The resolution supported by the device, including Width and Height. |
|||
|
system.sdk |
|
Set to True when the application is run with an SDK license. |
||||
|
system.stereoMode |
|
|
|
|
|
Specifies the stereo mode.
|
|
system.version |
|
|
Indicates the XR Framework version. |