Class OculusSettings
Inherited Members
Namespace: Unity.XR.Oculus
Assembly: solution.dll
Syntax
[Serializable]
[XRConfigurationData("Oculus", "Unity.XR.Oculus.Settings")]
public class OculusSettings : ScriptableObject
Fields
Name | Description |
---|---|
Dash |
Enable or disable Dash support. This inintializes the Oculus Plugin with Dash support which enables the Oculus Dash to composite over the Unity application. |
Depth |
Enables support for submitting the depth buffer on mobile. This allows for depth testing between layers on mobile Oculus platforms. |
Enable |
When the Tracking Origin Mode is set to Floor, the tracking origin won't change with a system recenter. |
Foveated |
Choose which foveated rendering method is used when foveation is enabled. |
Late |
Reduces tracked rendering latency by updating head and controller poses as late as possible before rendering. Vulkan only. |
Late |
Debug mode for Late Latching which will print information about the Late Latching system as well as any errors. |
Low |
If enabled, the GLES graphics driver will bypass validation code, potentially running faster. |
Optimize |
If enabled, the depth buffer and MSAA contents will be discarded rather than resolved. This is an optimization that can possibly break rendering in certain cases. Vulkan only. |
Phase |
Enables a latency optimization technique which can reduce simulation latency by several ms, depending on application workload. |
Shared |
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. |
Space |
A frame synthesis technology to allow your application to render at half frame rate, while still delivering a smooth experience. Note that this currently requires a custom version of the URP provided by Oculus in order to work, and should not be enabled if you aren't using that customized Oculus URP package. |
Subsampled |
Enables a subsampled eye texture layout, which can improve performance when using FFR and reduce FFR related artifacts. Vulkan and Quest 2/Quest Pro only. |
Symmetric |
Allows the application to render with symmetric projection matrices which can improve performance when using multiview. |
System |
Adds a PNG under the Assets folder as the system splash screen image. If set, the OS will display the system splash screen as a high quality compositor layer as soon as the app is starting to launch until the app submits the first frame. |
Target |
Adds a Quest 2 entry to the supported devices list in the Android manifest. |
Target |
Adds a Quest 3 entry to the supported devices list in the Android manifest. |
Target |
Adds a Quest Pro entry to the supported devices list in the Android manifest. |
m_Stereo |
The current stereo rendering mode selected for Android-based Oculus platforms |
m_Stereo |
The current stereo rendering mode selected for desktop-based Oculus platforms |
s_Settings |
Methods
Name | Description |
---|---|
Awake() | |
Get |