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.

VRDaydream

class in UnityEditor

/

Implemented in:UnityEditor

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

Description

Google VR-specific Player Settings.

Static Properties

daydreamIconForeground image for the Daydream Launcher Home Screen.
daydreamIconBackgroundBackground image for the Daydream Launcher Home Screen.
depthFormatSet the requested depth format for the Depth and Stencil Buffers. Options are 16bit Depth, 24bit Depth and 24bit Depth + 8bit Stencil.
enableVideoSurfaceEnable Google VR Asynchronous Video Re-Projection when running in Daydream.NOTE: Only takes effect if set before initializing VR.
enableVideoSurfaceProtectedMemoryEnable Protected Memory support when running with Google VR Asynchronous Video Re-Projection (AVR).Protected memory support is currently an all or nothing feature. When enabled only DRM protected content can be played using AVR. Clear content will fail to play.NOTE: Only takes effect if set before initializing VR.
maximumSupportedHeadTrackingSet the highest level of head tracking required to run your application.Set this property to limit your application to only run on devices that support this maximum level of head tracking. On devices that support higher levels of head tracking, your application is limited to using the maximum level.
minimumSupportedHeadTrackingSet the lowest level of head tracking required to run your application.Set this property to limit your application to only run on devices that support this minimum level of head tracking.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答