Sandbox.ModAPI
IMyProjectileDetector
Assembly: Sandbox.Common.dll
public interface IMyProjectileDetector
Describes projectile that have custom logic on handling bullets (mods interface)
Properties
| Member | Description |
|---|---|
| DetectorAABB | Gets AABB of the detector |
| HitEntity | Gets entity which was hit for this detector. It's not used for any logic with data, just for reporting to projectile system, which entity was hit by the projectile. |
| IsDetectorEnabled | Gets if detector is enabled |
Methods
| Member | Description |
|---|---|
| GetDetectorIntersectionWithLine(ref LineD, out Vector3D?) | Gets intersection between line and detector |
Inheritors: