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.

PlayerSettings.VROculus.sharedDepthBuffer

Switch to Manual
public static bool sharedDepthBuffer;

Description

Enable Shared Depth Buffer support with Oculus.

When enabled, the depth buffer will be shared with Oculus to render additional content in the scene when applicable.