docs.unity.cn
    Show / Hide Table of Contents

    Class MicrosoftHandInteraction

    This OpenXRInteractionFeature enables the use of eye gaze interaction profiles in OpenXR. It enables XR_MSFT_hand_interaction in the underyling runtime. This creates a new with the characteristic.

    Inheritance
    Object
    OpenXRFeature
    OpenXRInteractionFeature
    MicrosoftHandInteraction
    Inherited Members
    OpenXRInteractionFeature.OnInstanceCreate(UInt64)
    OpenXRInteractionFeature.AddActionMap(OpenXRInteractionFeature.ActionMapConfig)
    OpenXRInteractionFeature.OnEnabledChange()
    OpenXRFeature.enabled
    OpenXRFeature.xrGetInstanceProcAddr
    OpenXRFeature.HookGetInstanceProcAddr(IntPtr)
    OpenXRFeature.OnSubsystemCreate()
    OpenXRFeature.OnSubsystemStart()
    OpenXRFeature.OnSubsystemStop()
    OpenXRFeature.OnSubsystemDestroy()
    OpenXRFeature.OnSystemChange(UInt64)
    OpenXRFeature.OnSessionCreate(UInt64)
    OpenXRFeature.OnAppSpaceChange(UInt64)
    OpenXRFeature.OnSessionStateChange(Int32, Int32)
    OpenXRFeature.OnSessionBegin(UInt64)
    OpenXRFeature.OnSessionEnd(UInt64)
    OpenXRFeature.OnSessionExiting(UInt64)
    OpenXRFeature.OnSessionDestroy(UInt64)
    OpenXRFeature.OnInstanceDestroy(UInt64)
    OpenXRFeature.OnSessionLossPending(UInt64)
    OpenXRFeature.OnInstanceLossPending(UInt64)
    OpenXRFeature.OnFormFactorChange(Int32)
    OpenXRFeature.OnViewConfigurationTypeChange(Int32)
    OpenXRFeature.OnEnvironmentBlendModeChange(Int32)
    OpenXRFeature.PathToString(UInt64)
    OpenXRFeature.StringToPath(String)
    OpenXRFeature.GetCurrentInteractionProfile(UInt64)
    OpenXRFeature.GetCurrentInteractionProfile(String)
    OpenXRFeature.GetCurrentAppSpace()
    OpenXRFeature.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    OpenXRFeature.StartSubsystem<T>()
    OpenXRFeature.StopSubsystem<T>()
    OpenXRFeature.DestroySubsystem<T>()
    OpenXRFeature.OnEnable()
    OpenXRFeature.OnDisable()
    OpenXRFeature.GetAction(InputAction)
    Namespace: UnityEngine.XR.OpenXR.Features.Interactions
    Syntax
    public class MicrosoftHandInteraction : OpenXRInteractionFeature

    Fields

    aim

    Constant for a pose interaction binding '.../input/aim/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.

    Declaration
    public const string aim = null
    Field Value
    Type Description
    String

    extensionString

    The OpenXR Extension string. OpenXR uses this to check if this extension is available or enabled. See hand interaction extension documentation for more information on this OpenXR extension.

    Declaration
    public const string extensionString = null
    Field Value
    Type Description
    String

    featureId

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

    Declaration
    public const string featureId = null
    Field Value
    Type Description
    String

    grip

    Constant for a pose interaction binding '.../input/grip/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.

    Declaration
    public const string grip = null
    Field Value
    Type Description
    String

    profile

    OpenXR string that represents the hand interaction profile.

    Declaration
    public const string profile = null
    Field Value
    Type Description
    String

    select

    Constant for a float interaction binding '.../input/select/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.

    Declaration
    public const string select = null
    Field Value
    Type Description
    String

    squeeze

    Constant for a float interaction binding '.../input/menu/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.

    Declaration
    public const string squeeze = null
    Field Value
    Type Description
    String

    Methods

    RegisterActionMapsWithRuntime()

    Register action maps for this device with the OpenXR Runtime. Called at runtime before Start.

    Declaration
    protected override void RegisterActionMapsWithRuntime()
    Overrides
    OpenXRInteractionFeature.RegisterActionMapsWithRuntime()

    RegisterDeviceLayout()

    Registers the layout with the Input System.

    Declaration
    protected override void RegisterDeviceLayout()
    Overrides
    OpenXRInteractionFeature.RegisterDeviceLayout()

    UnregisterDeviceLayout()

    Removes the layout from the Input System.

    Declaration
    protected override void UnregisterDeviceLayout()
    Overrides
    OpenXRInteractionFeature.UnregisterDeviceLayout()
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use