Class OpenXRSettings
Build time settings for OpenXR. These are serialized and available at runtime.
Inherited Members
Namespace: UnityEngine .XR.OpenXR
Assembly: solution.dll
Syntax
[Serializable]
public class OpenXRSettings : ScriptableObject
Properties
Name | Description |
---|---|
Active |
Accessor to OpenXR build time settings. In the Unity Editor, this returns the settings for the active build target group. |
Allow |
Returns the current state of the recentering feature. |
Floor |
Returns the current floor offset value used when approximating the floor-based position when recentering the space. |
Instance | Accessor to OpenXR build time settings. In the Unity Editor, this returns the settings for the Standalone build target group. |
depth |
Enables XR_KHR_composition_layer_depth if possible and resolves or submits depth to OpenXR runtime. |
feature |
Number of available features. |
render |
Runtime Stereo rendering mode. |
symmetric |
If enabled, when the application begins it will create a stereo symmetric view that has the eye buffer resolution change based on the IPD. Provides a performance benefit across all IPDs. |
Methods
Name | Description |
---|---|
Get |
Returns the first feature that matches the given type. |
Get |
Returns the first feature that matches the given type. |
Get |
Return all features. |
Get |
Return all features. |
Get |
Returns all features of Type. |
Get |
Returns all features of a given type. |
Get |
Returns all features of a given type. |
Get |
Returns all features of a given type. |
Set |
Activates reference space recentering when using floor-based tracking origin. |