docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IXRHapticImpulseChannelGroup

    An interface that allows for getting the haptic impulse channel(s) on a device.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public interface IXRHapticImpulseChannelGroup

    Properties

    channelCount

    The number of haptic channels on the device.

    Declaration
    int channelCount { get; }
    Property Value
    Type Description
    int
    See Also
    IXRHapticImpulseChannel

    Methods

    GetChannel(int)

    Gets the haptic channel on the device by index.

    Declaration
    IXRHapticImpulseChannel GetChannel(int channel = 0)
    Parameters
    Type Name Description
    int channel

    The haptic channel index.

    Returns
    Type Description
    IXRHapticImpulseChannel

    Returns the haptic channel, or null if the haptic channel does not exist.

    See Also
    IXRHapticImpulseChannel

    See Also

    IXRHapticImpulseChannel
    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)