Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VRSettings.enabled

Switch to Manual
public static bool enabled;

Description

Globally enables or disables VR for the application.

When enabled, VR output is automatically mirrored to the main display. The main window is still controlled by Screen and related APIs.