Namespace UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics
Classes
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.
HapticImpulseCommandChannel
Allows for sending haptic impulses to a channel on a device from the input system.
HapticImpulseCommandChannelGroup
A haptic impulse channel group that uses input system commands to query the haptic capabilities of a device.
HapticImpulsePlayer
Component that allows for sending haptic impulses to a device.
HapticImpulseSingleChannelGroup
Haptic impulse channel group that wraps a single channel instance. This class provides a convenient way to create a channel group with a single channel known at time of construction.
HapticsUtility
Haptics utilities. Provides methods for a convenient way to send a haptic impulse to the left, right, or both controllers using a static method call.
XRInputDeviceHapticImpulseChannel
Allows for sending haptic impulses to a channel on a device from the XR input subsystem.
XRInputDeviceHapticImpulseChannelGroup
A haptic impulse channel group that uses an XR input subsystem device to query the haptic capabilities of a device.
XRInputDeviceHapticImpulseProvider
A ScriptableObject that provides a group of haptic impulse channels for a device from the XR input subsystem as defined by its characteristics. Intended to be used with an XRInputHapticImpulseProvider as its object reference.
XRInputHapticImpulseProvider
Serializable haptic impulse provider that allows for specifying the output channel or device for haptic impulses. Behaviors can declare a field of this type to allow them to output haptic impulses to a controller specified by an input action or any other source capable of returning a group of haptic channels.
Interfaces
IXRHapticImpulseChannel
An interface that allows for sending haptic impulses to a channel on a device.
IXRHapticImpulseChannelGroup
An interface that allows for getting the haptic impulse channel(s) on a device.
IXRHapticImpulseProvider
Interface which provides a group of haptic impulse channels.
Enums
HapticsUtility.Controller
Identify which controllers to send a haptic impulse to.
XRInputHapticImpulseProvider.InputSourceMode
The mode that determines from which input source to get the haptic channels.