docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HapticControlActionManager

    Class to assist with getting a haptic impulse channel group from an input action, handling either an OpenXR HapticControl binding or an Any (/*) binding to identify an input device.

    Inheritance
    object
    HapticControlActionManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public class HapticControlActionManager

    Constructors

    HapticControlActionManager()

    Initializes and returns an instance of HapticControlActionManager.

    Declaration
    public HapticControlActionManager()

    Methods

    GetChannelGroup(InputAction)

    Gets the haptic impulse channel group appropriate for the given input action.

    Declaration
    public IXRHapticImpulseChannelGroup GetChannelGroup(InputAction action)
    Parameters
    Type Name Description
    InputAction action

    The input action that is either bound to an OpenXR haptic binding or identifies the device.

    Returns
    Type Description
    IXRHapticImpulseChannelGroup

    Returns the haptic impulse channel group appropriate for the given action.

    In This Article
    Back to top
    Copyright © 2025 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)