UxrControllerHapticEventArgs Constructor (UxrHandSide, Single, Single, Single, UxrHapticMode)

Constructor that registers a Raw event.

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

Syntax

C#

public UxrControllerHapticEventArgs(
	UxrHandSide handSide,
	float frequency,
	float amplitude,
	float durationSeconds,
	UxrHapticMode hapticMode
)

Parameters

 

handSide
Type: UltimateXR.Core.UxrHandSide
Haptic feedback target hand
frequency
Type: System.Single
Vibration frequency
amplitude
Type: System.Single
Vibration amplitude
durationSeconds
Type: System.Single
Feedback duration in seconds
hapticMode
Type: UltimateXR.Haptics.UxrHapticMode
Haptic mode: mix or replace

See Also

Reference

UxrControllerHapticEventArgs Class
UxrControllerHapticEventArgs Overload
UltimateXR.Devices Namespace