UxrUnityXRControllerInput.SendHapticFeedback Method (UxrHandSide, UxrHapticClip)

Sends haptic feedback to a controller if the controller supports it.

Namespace: UltimateXR.Devices.Integrations
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public override void SendHapticFeedback(
	UxrHandSide handSide,
	UxrHapticClip hapticClip
)

Parameters

 

handSide
Type: UltimateXR.Core.UxrHandSide
Which controller to send the haptic feedback to. In Single devices where IsHandednessSupported is false, such as in gamepads, both hands will address the single device.
hapticClip
Type: UltimateXR.Haptics.UxrHapticClip
Clip to send

Implements

IUxrControllerInput.SendHapticFeedback(UxrHandSide, UxrHapticClip)

See Also

Reference

UxrUnityXRControllerInput Class
SendHapticFeedback Overload
UltimateXR.Devices.Integrations Namespace