UxrDeflectEventArgs Constructor

Constructor.

Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public UxrDeflectEventArgs(
	UxrProjectileSource projectileSource,
	RaycastHit raycastHit,
	Vector3 newDirection
)

Parameters

 

projectileSource
Type: UltimateXR.Mechanics.Weapons.UxrProjectileSource
The projectile source
raycastHit
Type: RaycastHit
The raycast used to detect projectile collision
newDirection
Type: Vector3
The new, deflected, projectile direction

See Also

Reference

UxrDeflectEventArgs Class
UltimateXR.Mechanics.Weapons Namespace