Class XRInputDeviceHapticImpulseProvider
A Scriptable
Implements
Inherited Members
Namespace: UnityEngine .XR.Interaction.Toolkit.Inputs.Haptics
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@3.1/api/UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics.XRInputDeviceHapticImpulseProvider.html")]
[CreateAssetMenu(fileName = "XRInputDeviceHapticImpulseProvider", menuName = "XR/Input Device Haptic Impulse Provider")]
public class XRInputDeviceHapticImpulseProvider : ScriptableObject, IXRHapticImpulseProvider
Methods
GetChannelGroup()
Gets the group of haptic impulse channels.
Declaration
public IXRHapticImpulseChannelGroup GetChannelGroup()
Returns
Type | Description |
---|---|
IXRHaptic |
Returns the haptic impulse channel group, which may be null. |