Class PlacingBulletHoleEventArgs
Contains all information before placing a bullet hole decal.
Inheritance
System.Object
PlacingBulletHoleEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Map
Assembly: Exiled.Events.dll
Syntax
public class PlacingBulletHoleEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourcePlacingBulletHoleEventArgs(Player, RaycastHit)
Initializes a new instance of the PlacingBulletHoleEventArgs class.
Declaration
public PlacingBulletHoleEventArgs(Player owner, RaycastHit hit)
Parameters
Type | Name | Description |
---|---|---|
Player | owner | |
UnityEngine.RaycastHit | hit |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the decal can be placed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the decal owner.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Position
Gets or sets the decal position.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Rotation
Gets or sets the decal rotation.
Declaration
public Quaternion Rotation { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Quaternion |