Class OnWeaponHitEventArgs
Inherited Members
Namespace: Slipe.Client.Vehicles.Events
Assembly: SlipeClient.dll
Syntax
public class OnWeaponHitEventArgs
Properties
| Improve this Doc View SourceHitElement
The element that was hit, if any
Declaration
public PhysicalElement HitElement { get; }
Property Value
Type | Description |
---|---|
PhysicalElement |
Material
The material that was hit
Declaration
public SurfaceMaterialType Material { get; }
Property Value
Type | Description |
---|---|
SurfaceMaterialType |
Model
The model of the element that was hit
Declaration
public int Model { get; }
Property Value
Type | Description |
---|---|
Int32 |
Position
The world position of the impact
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |
WeaponType
The type of the weapon
Declaration
public Weapon WeaponType { get; }
Property Value
Type | Description |
---|---|
Weapon |