Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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.

Did you find this page useful? Please give it a rating: