IUxrControllerInput.SendHapticFeedback Method (UxrHandSide, UxrHapticClip)

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

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

Syntax

C#

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

See Also

Reference

IUxrControllerInput Interface
SendHapticFeedback Overload
UltimateXR.Devices Namespace