Interface IMyLargeTurretBase
Describes turret block (mods interface)
Inherited Members
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyLargeTurretBase : IMyUserControllableGun, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyLargeTurretBase, IMyUserControllableGun, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyCameraController, IMyTargetingCapableBlock
Properties
Target
Gets current turret target
Declaration
IMyEntity Target { get; }
Property Value
Type | Description |
---|---|
IMyEntity |
Methods
SetTarget(IMyEntity)
Tracks target without position prediction
Declaration
void SetTarget(IMyEntity entity)
Parameters
Type | Name | Description |
---|---|---|
IMyEntity | entity |
TrackTarget(IMyEntity)
Tracks entity with enabled position prediction
Declaration
void TrackTarget(IMyEntity entity)
Parameters
Type | Name | Description |
---|---|---|
IMyEntity | entity |