performhapticeventoncurrenttarget - eisclimber/ExPresS-XR GitHub Wiki

HoverRumblePlayer.PerformHapticEventOnCurrentTarget(RumbleDescription,HapticImpulsePlayer)

Method in HoverRumblePlayer

Summary

Use this function to send haptic Events to the current hapticTarget. Note: If targetOverride is active the hapticTarget will be updated automatically.

public void PerformHapticEventOnCurrentTarget(RumbleDescription rumble, HapticImpulsePlayer targetOverride = null)

Parameters

Name Description
ExPresSXR.Interaction.Feedback.RumbleDescription rumble Rumble to be performed.
UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics.HapticImpulsePlayer targetOverride Optional target override.
⚠️ **GitHub.com Fallback** ⚠️