Interface IMySafeZoneBlock
Describes Safe zone block (mods interface)
Inherited Members
Namespace: SpaceEngineers.Game.ModAPI
Assembly: SpaceEngineers.Game.dll
Syntax
public interface IMySafeZoneBlock : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMySafeZoneBlock, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Methods
EnableSafeZone(Boolean)
Enables(activates)/disables(deactivates) safe zone. Grid has to be static. If grid is not static this method will do nothing.
Declaration
void EnableSafeZone(bool turnOn)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | turnOn | True to enable the safe zone. Otherwise false. |
IsSafeZoneEnabled()
Gets state of the safe zone. Enabled(active).
Declaration
bool IsSafeZoneEnabled()
Returns
Type | Description |
---|---|
System.Boolean | True - All safe zone filters are active. Otherwise false. |