Class OculusSettings
Inheritance
OculusSettings
Syntax
[Serializable]
public class OculusSettings : ScriptableObject
Fields
DashSupport
Enable or disable Dash support. This inintializes the Oculus Plugin with Dash support which enables the Oculus Dash to composite over the Unity application.
Declaration
Field Value
m_StereoRenderingModeAndroid
The current stereo rendering mode selected for Android-based Oculus platforms
Declaration
public OculusSettings.StereoRenderingModeAndroid m_StereoRenderingModeAndroid
Field Value
m_StereoRenderingModeDesktop
The current stereo rendering mode selected for desktop-based Oculus platforms
Declaration
public OculusSettings.StereoRenderingModeDesktop m_StereoRenderingModeDesktop
Field Value
s_Settings
Declaration
public static OculusSettings s_Settings
Field Value
SharedDepthBuffer
Enable or disable support for using a shared depth buffer. This allows Unity and Oculus to use a common depth buffer which enables Oculus to composite the Oculus Dash and other utilities over the Unity application.
Declaration
public bool SharedDepthBuffer
Field Value
V2Signing
Enable this if you are building for Quest. This enables application signing with the Android Package (APK) Signature Scheme v2. Disable v2 signing if building for Oculus Go.
Declaration
Field Value
Methods
Awake()
Declaration
GetStereoRenderingMode()
Declaration
public ushort GetStereoRenderingMode()
Returns