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

NameDescription
Public methodUxrHapticImpactEventArgs Constructor.

Properties

NameDescription
Public propertyAngleForwardVelocity Gets the angle between hit transform world forward and hit transform world velocity.
Public propertyAnglePenetration Gets the angle between hit transform world forward and -normal.
Public propertyForceT Gets the normalized hit force (0 = min, 1 = max).
Public propertyHitInfo Gets the raycast hit information.
Public propertyVelocity Gets the tip velocity.

Extension Methods

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Haptics.Helpers Namespace