LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

HolographicSettings.IsContentProtectionEnabled

public static bool IsContentProtectionEnabled;

Description

Whether the app is displaying protected content.

When content protection is enabled, rendered content will be visible only in the headset, disabling the Mixed Reality Portal's preview.