Interface IMyShootOrigin
Interface describing part of weapon block logic Used in detection if target is visible
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyShootOrigin
Properties
GetAmmoDefinition
Gets ammo definition
Declaration
MyDefinitionBase GetAmmoDefinition { get; }
Property Value
Type | Description |
---|---|
MyDefinitionBase |
MaxShootRange
Gets weapon max shoot range
Declaration
float MaxShootRange { get; }
Property Value
Type | Description |
---|---|
System.Single |
ShootOrigin
Gets shot starting position
Declaration
Vector3D ShootOrigin { get; }
Property Value
Type | Description |
---|---|
Vector3D |