IMyCockpit Properties |
[This is preliminary documentation and is subject to change.]
The IMyCockpit type exposes the following members.
Name | Description | |
---|---|---|
BlockDefinition | (Inherited from IMyCubeBlock.) | |
CanControlShip |
Determines whether this specific ship controller is capable of controlling the ship it's installed on.
(Inherited from IMyShipController.) | |
CenterOfMass |
Center of mass in world coordinates
(Inherited from IMyShipController.) | |
CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | |
Components | (Inherited from IMyEntity.) | |
ControlThrusters |
Gets or sets whether thrusters are being controlled by this controller.
(Inherited from IMyShipController.) | |
ControlWheels |
Gets or sets whether wheels are being controlled by this controller.
(Inherited from IMyShipController.) | |
CubeGrid | (Inherited from IMyCubeBlock.) | |
CustomData |
Gets or sets the Custom Data string.
NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
(Inherited from IMyTerminalBlock.) | |
CustomInfo | (Inherited from IMyTerminalBlock.) | |
CustomName | (Inherited from IMyTerminalBlock.) | |
CustomNameWithFaction | (Inherited from IMyTerminalBlock.) | |
DampenersOverride |
Gets or sets whether dampeners are currently enabled.
(Inherited from IMyShipController.) | |
DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) | |
DetailedInfo | (Inherited from IMyTerminalBlock.) | |
DisassembleRatio | (Inherited from IMyCubeBlock.) | |
DisplayName | (Inherited from IMyEntity.) | |
DisplayNameText | (Inherited from IMyCubeBlock.) | |
EntityId | (Inherited from IMyEntity.) | |
HandBrake |
Gets or sets the current state of the handbrake.
(Inherited from IMyShipController.) | |
HasInventory | (Inherited from IMyEntity.) | |
HasWheels |
Determines whether there are any wheels on this ship.
(Inherited from IMyShipController.) | |
InventoryCount | (Inherited from IMyEntity.) | |
IsBeingHacked | (Inherited from IMyCubeBlock.) | |
IsFunctional | (Inherited from IMyCubeBlock.) | |
IsMainCockpit |
Determines whether this controller is the main cockpit of the shit this doesn't belong here.
| |
IsUnderControl |
Indicates whether a block is locally or remotely controlled.
(Inherited from IMyShipController.) | |
IsWorking | (Inherited from IMyCubeBlock.) | |
Mass | (Inherited from IMyCubeBlock.) | |
Max | (Inherited from IMyCubeBlock.) | |
Min | (Inherited from IMyCubeBlock.) | |
MoveIndicator |
Directional input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.) | |
Name | (Inherited from IMyEntity.) | |
NumberInGrid | (Inherited from IMyCubeBlock.) | |
Orientation | (Inherited from IMyCubeBlock.) | |
OwnerId | (Inherited from IMyCubeBlock.) | |
OxygenCapacity |
Gets the maximum oxygen capacity of this cockpit.
| |
OxygenFilledRatio |
Gets the current oxygen level of this cockpit, as a value between 0 (empty) and 1 (full).
| |
Position | (Inherited from IMyCubeBlock.) | |
RollIndicator |
Roll input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.) | |
RotationIndicator |
Pitch, yaw input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.) | |
ShowHorizonIndicator |
Gets or sets whether the horizon indicator should be displayed for this block.
(Inherited from IMyShipController.) | |
ShowInTerminal | (Inherited from IMyTerminalBlock.) | |
ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) | |
ShowOnHUD | (Inherited from IMyTerminalBlock.) | |
WorldAABB | (Inherited from IMyEntity.) | |
WorldAABBHr | (Inherited from IMyEntity.) | |
WorldMatrix | (Inherited from IMyEntity.) | |
WorldVolume | (Inherited from IMyEntity.) | |
WorldVolumeHr | (Inherited from IMyEntity.) |