Enum XRInputHapticImpulseProvider.InputSourceMode
The mode that determines from which input source to get the haptic channels.
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum XRInputHapticImpulseProvider.InputSourceMode
Fields
Name | Description |
---|---|
InputAction | The output channel or device is identified by an input action defined and serialized with this behavior. |
InputActionReference | The output channel or device is identified by an input action defined in the project. This is the default mode. |
ObjectReference | The haptic channels are sourced from an object reference that implements IXRHapticImpulseProvider. |
Unused | Haptics are explicitly not used. Set to this mode to avoid any performance cost when haptics are not needed. |