Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

PlayerSettings.VRWindowsMixedReality.depthBufferSharingEnabled

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static bool depthBufferSharingEnabled;

Description

Toggle support for sharing the depth buffer between Unity and the OS. This allows for stability improvements when running in Windows Mixed Reality. For immersive headsets this allows the operating system to reproject the rendered scene when there is a loss of accuracy in tracking. For Holographic headsets this allows for the operating system to automatically set a focus point along the plane that intersects the most content in your scene.

See Also: WMR input and interaction concepts

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