UxrControllerHapticEventArgs Class
Wraps information about a haptic request event.
Inheritance Hierarchy
System.Object
System.EventArgs
UltimateXR.Devices.UxrControllerHapticEventArgs
Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public class UxrControllerHapticEventArgs : EventArgs
The UxrControllerHapticEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UxrControllerHapticEventArgs(UxrHandSide, UxrHapticClip) | Constructor that registers a Clip event. | |
UxrControllerHapticEventArgs(UxrHandSide, Single, Single, Single, UxrHapticMode) | Constructor that registers a Raw event. |
Properties
Name | Description | |
---|---|---|
Amplitude | Gets the haptic feedback raw amplitude if the event is Raw. | |
DurationSeconds | Gets the haptic feedback duration in seconds if the event is Raw. | |
Frequency | Gets the haptic feedback raw frequency if the event is Raw. | |
HandSide | Gets the haptic feedback target hand. | |
HapticClip | Gets the haptic clip if the event is Clip. | |
HapticEventType | Gets the haptic event type. | |
HapticMode | Gets the haptic feedback playback mode. |
Methods
Name | Description | |
---|---|---|
GetHapticStopEvent | Generates a Stop event for the given hand |
Extension Methods
Name | Description | |
---|---|---|
ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |