docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OpenXRSettings

    Build time settings for OpenXR. These are serialized and available at runtime.

    Inheritance
    object
    Object
    ScriptableObject
    OpenXRSettings
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class OpenXRSettings : ScriptableObject

    Properties

    Name Description
    ActiveBuildTargetInstance

    Accessor to OpenXR build time settings.

    In the Unity Editor, this returns the settings for the active build target group.

    AllowRecentering

    Returns the current state of the recentering feature.

    FloorOffset

    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.

    depthSubmissionMode

    Enables XR_KHR_composition_layer_depth if possible and resolves or submits depth to OpenXR runtime.

    featureCount

    Number of available features.

    renderMode

    Runtime Stereo rendering mode.

    symmetricProjection

    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
    GetFeature(Type)

    Returns the first feature that matches the given type.

    GetFeature<TFeature>()

    Returns the first feature that matches the given type.

    GetFeatures()

    Return all features.

    GetFeatures(List<OpenXRFeature>)

    Return all features.

    GetFeatures(Type)

    Returns all features of Type.

    GetFeatures(Type, List<OpenXRFeature>)

    Returns all features of a given type.

    GetFeatures<TFeature>()

    Returns all features of a given type.

    GetFeatures<TFeature>(List<TFeature>)

    Returns all features of a given type.

    SetAllowRecentering(bool, float)

    Activates reference space recentering when using floor-based tracking origin.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023