UxrNonDamagingImpactEventArgs Constructor

Constructor.

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

Syntax

C#

public UxrNonDamagingImpactEventArgs(
	UxrActor weaponOwner,
	UxrProjectileSource projectileSource,
	RaycastHit raycastHit
)

Parameters

 

weaponOwner
Type: UltimateXR.Mechanics.Weapons.UxrActor
Owner of the weapon that fired the shot
projectileSource
Type: UltimateXR.Mechanics.Weapons.UxrProjectileSource
Projectile source
raycastHit
Type: RaycastHit
Raycast that detected the hit

See Also

Reference

UxrNonDamagingImpactEventArgs Class
UltimateXR.Mechanics.Weapons Namespace