UxrHapticImpactEventArgs Class
EventArgs for events generated by a UxrHapticOnImpact component.
Inheritance Hierarchy
System.Object
System.EventArgs
UltimateXR.Haptics.Helpers.UxrHapticImpactEventArgs
Namespace: UltimateXR.Haptics.Helpers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public class UxrHapticImpactEventArgs : EventArgs
The UxrHapticImpactEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | UxrHapticImpactEventArgs | Constructor. |
Properties
Name | Description | |
---|---|---|
![]() | AngleForwardVelocity | Gets the angle between hit transform world forward and hit transform world velocity. |
![]() | AnglePenetration | Gets the angle between hit transform world forward and -normal. |
![]() | ForceT | Gets the normalized hit force (0 = min, 1 = max). |
![]() | HitInfo | Gets the raycast hit information. |
![]() | Velocity | Gets the tip velocity. |
Extension Methods
Name | Description | |
---|---|---|
![]() | ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |