IMyShipController Methods |
[This is preliminary documentation and is subject to change.]
The IMyShipController type exposes the following members.
Name | Description | |
---|---|---|
CalculateShipMass |
Gets information about the current mass of the ship.
| |
GetActions | (Inherited from IMyTerminalBlock.) | |
GetActionWithName | (Inherited from IMyTerminalBlock.) | |
GetArtificialGravity |
Gets the detected artificial gravity vector and power at the current location.
| |
GetInventory | (Inherited from IMyEntity.) | |
GetInventory(Int32) | (Inherited from IMyEntity.) | |
GetNaturalGravity |
Gets the detected natural gravity vector and power at the current location.
| |
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.
| |
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.
| |
GetTotalGravity |
Gets the total accumulated gravity vector and power at the current location,
taking both natural and artificial gravity into account.
| |
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.
| |
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.
| |
UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) | |
UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) |