Interface IMyCockpit
Describes cockpit block (PB scripting interface)
Inherited Members
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public interface IMyCockpit : IMyShipController, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyTextSurfaceProvider
Properties
OxygenCapacity
Gets the maximum oxygen capacity of this cockpit.
Declaration
float OxygenCapacity { get; }
Property Value
Type | Description |
---|---|
System.Single |
OxygenFilledRatio
Gets the current oxygen level of this cockpit, as a value between 0 (empty) and 1 (full).
Declaration
float OxygenFilledRatio { get; }
Property Value
Type | Description |
---|---|
System.Single |