| IMyCockpit Methods |
[This is preliminary documentation and is subject to change.]
The IMyCockpit type exposes the following members.
| Name | Description | |
|---|---|---|
| CalculateShipMass |
Gets information about the current mass of the ship.
(Inherited from IMyShipController.) | |
| GetActions | (Inherited from IMyTerminalBlock.) | |
| GetActionWithName | (Inherited from IMyTerminalBlock.) | |
| GetArtificialGravity |
Gets the detected artificial gravity vector and power at the current location.
(Inherited from IMyShipController.) | |
| GetInventory | (Inherited from IMyEntity.) | |
| GetInventory(Int32) | (Inherited from IMyEntity.) | |
| GetNaturalGravity |
Gets the detected natural gravity vector and power at the current location.
(Inherited from IMyShipController.) | |
| GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | |
| GetPlayerRelationToOwner | Obsolete. (Inherited from IMyCubeBlock.) | |
| GetPosition | (Inherited from IMyEntity.) | |
| GetProperties | (Inherited from IMyTerminalBlock.) | |
| GetProperty | (Inherited from IMyTerminalBlock.) | |
| GetShipSpeed |
Gets the basic ship speed in meters per second, for when you just need to know how fast you're going.
(Inherited from IMyShipController.) | |
| GetShipVelocities |
Determines the linear velocities in meters per second and angular velocities in radians per second.
Provides a more accurate representation of the directions and axis speeds.
(Inherited from IMyShipController.) | |
| GetTotalGravity |
Gets the total accumulated gravity vector and power at the current location,
taking both natural and artificial gravity into account.
(Inherited from IMyShipController.) | |
| GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | |
| HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) | |
| HasPlayerAccess | (Inherited from IMyTerminalBlock.) | |
| SearchActionsOfName | (Inherited from IMyTerminalBlock.) | |
| SetCustomName(String) | Obsolete. (Inherited from IMyTerminalBlock.) | |
| SetCustomName(StringBuilder) | Obsolete. (Inherited from IMyTerminalBlock.) | |
| TryGetPlanetElevation |
Attempts to get the elevation of the ship in relation to the nearest planet. This method is only available
when a ship is within the gravity well of a planet.
(Inherited from IMyShipController.) | |
| TryGetPlanetPosition |
Attempts to get the world position of the nearest planet. This method is only available when a ship is
within the gravity well of a planet.
(Inherited from IMyShipController.) | |
| UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) | |
| UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) |