docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ConformanceAutomationFeature

    This OpenXRFeature implements XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Inheritance
    object
    Object
    ScriptableObject
    OpenXRFeature
    ConformanceAutomationFeature
    Inherited Members
    OpenXRFeature.enabled
    OpenXRFeature.xrGetInstanceProcAddr
    OpenXRFeature.HookGetInstanceProcAddr(IntPtr)
    OpenXRFeature.OnSubsystemCreate()
    OpenXRFeature.OnSubsystemStart()
    OpenXRFeature.OnSubsystemStop()
    OpenXRFeature.OnSubsystemDestroy()
    OpenXRFeature.OnSystemChange(ulong)
    OpenXRFeature.OnAppSpaceChange(ulong)
    OpenXRFeature.OnSessionStateChange(int, int)
    OpenXRFeature.OnSessionBegin(ulong)
    OpenXRFeature.OnSessionEnd(ulong)
    OpenXRFeature.OnSessionExiting(ulong)
    OpenXRFeature.OnSessionLossPending(ulong)
    OpenXRFeature.OnInstanceLossPending(ulong)
    OpenXRFeature.OnFormFactorChange(int)
    OpenXRFeature.OnViewConfigurationTypeChange(int)
    OpenXRFeature.OnEnvironmentBlendModeChange(XrEnvironmentBlendMode)
    OpenXRFeature.OnEnabledChange()
    OpenXRFeature.PathToString(ulong)
    OpenXRFeature.StringToPath(string)
    OpenXRFeature.GetCurrentInteractionProfile(ulong)
    OpenXRFeature.GetCurrentInteractionProfile(string)
    OpenXRFeature.GetCurrentAppSpace()
    OpenXRFeature.GetViewConfigurationTypeForRenderPass(int)
    OpenXRFeature.SetEnvironmentBlendMode(XrEnvironmentBlendMode)
    OpenXRFeature.GetEnvironmentBlendMode()
    OpenXRFeature.GetValidationChecks(List<OpenXRFeature.ValidationRule>, BuildTargetGroup)
    OpenXRFeature.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, string)
    OpenXRFeature.StartSubsystem<T>()
    OpenXRFeature.StopSubsystem<T>()
    OpenXRFeature.DestroySubsystem<T>()
    OpenXRFeature.OnEnable()
    OpenXRFeature.OnDisable()
    OpenXRFeature.Awake()
    OpenXRFeature.GetAction(InputAction)
    OpenXRFeature.GetAction(InputDevice, InputFeatureUsage)
    OpenXRFeature.GetAction(InputDevice, string)
    OpenXRFeature.RegisterStatsDescriptor(string, OpenXRFeature.StatFlags)
    OpenXRFeature.SetStatAsFloat(ulong, float)
    OpenXRFeature.SetStatAsUInt(ulong, uint)
    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.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.OpenXR.Features.ConformanceAutomation
    Assembly: Unity.XR.OpenXR.Features.ConformanceAutomation.dll
    Syntax
    public class ConformanceAutomationFeature : OpenXRFeature

    Fields

    featureId

    The feature id string. This is used to give the feature a well known id for reference.

    Declaration
    public const string featureId = "com.unity.openxr.feature.conformance"
    Field Value
    Type Description
    string

    Methods

    ConformanceAutomationSetActive(string, string, bool)

    Drive the xrSetInputDeviceActiveEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Declaration
    public static bool ConformanceAutomationSetActive(string interactionProfile, string topLevelPath, bool isActive)
    Parameters
    Type Name Description
    string interactionProfile

    An OpenXRPath that specifies the OpenXR Interaction Profile of the value to be changed (e.g. /interaction_profiles/khr/simple_controller).

    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    bool isActive

    A boolean that specifies the desired state of the target.

    Returns
    Type Description
    bool

    Returns true if the state is set successfully, or false if there was an error.

    ConformanceAutomationSetBool(string, string, bool)

    Drive the xrSetInputDeviceStateBoolEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Declaration
    public static bool ConformanceAutomationSetBool(string topLevelPath, string inputSourcePath, bool state)
    Parameters
    Type Name Description
    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    string inputSourcePath

    An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click).

    bool state

    A boolean that specifies the desired state of the target.

    Returns
    Type Description
    bool

    Returns true if the state is set successfully, or false if there was an error.

    ConformanceAutomationSetFloat(string, string, float)

    Drive the xrSetInputDeviceStateFloatEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Declaration
    public static bool ConformanceAutomationSetFloat(string topLevelPath, string inputSourcePath, float state)
    Parameters
    Type Name Description
    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    string inputSourcePath

    An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click).

    float state

    A float that specifies the desired state of the target.

    Returns
    Type Description
    bool

    Returns true if the state is set successfully, or false if there was an error.

    ConformanceAutomationSetPose(string, string, Vector3, Quaternion)

    Drive the xrSetInputDeviceLocationEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Declaration
    public static bool ConformanceAutomationSetPose(string topLevelPath, string inputSourcePath, Vector3 position, Quaternion orientation)
    Parameters
    Type Name Description
    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    string inputSourcePath

    An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click).

    Vector3 position

    A Vector3 that specifies the desired state of the target.

    Quaternion orientation

    A Quaternion that specifies the desired state of the target.

    Returns
    Type Description
    bool

    Returns true if the state is set successfully, or false if there was an error.

    ConformanceAutomationSetVec2(string, string, Vector2)

    Drive the xrSetInputDeviceStateVector2fEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation

    Declaration
    public static bool ConformanceAutomationSetVec2(string topLevelPath, string inputSourcePath, Vector2 state)
    Parameters
    Type Name Description
    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    string inputSourcePath

    An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click).

    Vector2 state

    A Vector2 that specifies the desired state of the target.

    Returns
    Type Description
    bool

    Returns true if the state is set successfully, or false if there was an error.

    ConformanceAutomationSetVelocity(string, string, bool, Vector3, bool, Vector3)

    Set the angular and linear velocity of a pose

    Declaration
    public static bool ConformanceAutomationSetVelocity(string topLevelPath, string inputSourcePath, bool linearValid, Vector3 linear, bool angularValid, Vector3 angular)
    Parameters
    Type Name Description
    string topLevelPath

    An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left).

    string inputSourcePath

    An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click).

    bool linearValid

    True if the linear velocity is valid

    Vector3 linear

    Linear velocity value

    bool angularValid

    True if the angular velocity is valid

    Vector3 angular

    Angular velocity value

    Returns
    Type Description
    bool

    true if the velocity is set successfully, or false if there was an error.

    OnInstanceCreate(ulong)

    Called after xrCreateInstance.

    Declaration
    protected override bool OnInstanceCreate(ulong instance)
    Parameters
    Type Name Description
    ulong instance
    Returns
    Type Description
    bool

    Always returns true, as this is intended to be overridden.

    Overrides
    OpenXRFeature.OnInstanceCreate(ulong)

    OnInstanceDestroy(ulong)

    Called before xrDestroyInstance

    Declaration
    protected override void OnInstanceDestroy(ulong xrInstance)
    Parameters
    Type Name Description
    ulong xrInstance

    Handle of the xrInstance

    Overrides
    OpenXRFeature.OnInstanceDestroy(ulong)

    OnSessionCreate(ulong)

    Called after xrCreateSession.

    Declaration
    protected override void OnSessionCreate(ulong xrSessionId)
    Parameters
    Type Name Description
    ulong xrSessionId
    Overrides
    OpenXRFeature.OnSessionCreate(ulong)

    OnSessionDestroy(ulong)

    Called before xrDestroySession.

    Declaration
    protected override void OnSessionDestroy(ulong xrSessionId)
    Parameters
    Type Name Description
    ulong xrSessionId
    Overrides
    OpenXRFeature.OnSessionDestroy(ulong)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)