UxrDeflectEventArgs Class

Projectile deflection event parameters.

Inheritance Hierarchy

System.Object
  System.EventArgs
    UltimateXR.Mechanics.Weapons.UxrDeflectEventArgs
Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public class UxrDeflectEventArgs : EventArgs


The UxrDeflectEventArgs type exposes the following members.

Constructors

NameDescription
Public methodUxrDeflectEventArgs Constructor.

Properties

NameDescription
Public propertyNewDirection Gets the new projectile direction after being deflected.
Public propertyProjectileSource Gets the projectile source.
Public propertyRaycastHit Gets the raycast that was used to detect the collision.

Extension Methods

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

See Also

Reference

UltimateXR.Mechanics.Weapons Namespace