Click or drag to resize
IMyCockpit Properties
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

The IMyCockpit type exposes the following members.

Properties
  NameDescription
Public propertyBlockDefinition (Inherited from IMyCubeBlock.)
Public propertyCanControlShip
Determines whether this specific ship controller is capable of controlling the ship it's installed on.
(Inherited from IMyShipController.)
Public propertyCenterOfMass
Center of mass in world coordinates
(Inherited from IMyShipController.)
Public propertyCheckConnectionAllowed (Inherited from IMyCubeBlock.)
Public propertyComponents (Inherited from IMyEntity.)
Public propertyControlThrusters
Gets or sets whether thrusters are being controlled by this controller.
(Inherited from IMyShipController.)
Public propertyControlWheels
Gets or sets whether wheels are being controlled by this controller.
(Inherited from IMyShipController.)
Public propertyCubeGrid (Inherited from IMyCubeBlock.)
Public propertyCustomData
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.)
Public propertyCustomInfo (Inherited from IMyTerminalBlock.)
Public propertyCustomName (Inherited from IMyTerminalBlock.)
Public propertyCustomNameWithFaction (Inherited from IMyTerminalBlock.)
Public propertyDampenersOverride
Gets or sets whether dampeners are currently enabled.
(Inherited from IMyShipController.)
Public propertyDefinitionDisplayNameText (Inherited from IMyCubeBlock.)
Public propertyDetailedInfo (Inherited from IMyTerminalBlock.)
Public propertyDisassembleRatio (Inherited from IMyCubeBlock.)
Public propertyDisplayName (Inherited from IMyEntity.)
Public propertyDisplayNameText (Inherited from IMyCubeBlock.)
Public propertyEntityId (Inherited from IMyEntity.)
Public propertyHandBrake
Gets or sets the current state of the handbrake.
(Inherited from IMyShipController.)
Public propertyHasInventory (Inherited from IMyEntity.)
Public propertyHasWheels
Determines whether there are any wheels on this ship.
(Inherited from IMyShipController.)
Public propertyInventoryCount (Inherited from IMyEntity.)
Public propertyIsBeingHacked (Inherited from IMyCubeBlock.)
Public propertyIsFunctional (Inherited from IMyCubeBlock.)
Public propertyIsMainCockpit
Determines whether this controller is the main cockpit of the shit this doesn't belong here.
Public propertyIsUnderControl
Indicates whether a block is locally or remotely controlled.
(Inherited from IMyShipController.)
Public propertyIsWorking (Inherited from IMyCubeBlock.)
Public propertyMass (Inherited from IMyCubeBlock.)
Public propertyMax (Inherited from IMyCubeBlock.)
Public propertyMin (Inherited from IMyCubeBlock.)
Public propertyMoveIndicator
Directional input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.)
Public propertyName (Inherited from IMyEntity.)
Public propertyNumberInGrid (Inherited from IMyCubeBlock.)
Public propertyOrientation (Inherited from IMyCubeBlock.)
Public propertyOwnerId (Inherited from IMyCubeBlock.)
Public propertyOxygenCapacity
Gets the maximum oxygen capacity of this cockpit.
Public propertyOxygenFilledRatio
Gets the current oxygen level of this cockpit, as a value between 0 (empty) and 1 (full).
Public propertyPosition (Inherited from IMyCubeBlock.)
Public propertyRollIndicator
Roll input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.)
Public propertyRotationIndicator
Pitch, yaw input from user/autopilot. Values can be very large with high controller sensitivity
(Inherited from IMyShipController.)
Public propertyShowHorizonIndicator
Gets or sets whether the horizon indicator should be displayed for this block.
(Inherited from IMyShipController.)
Public propertyShowInTerminal (Inherited from IMyTerminalBlock.)
Public propertyShowInToolbarConfig (Inherited from IMyTerminalBlock.)
Public propertyShowOnHUD (Inherited from IMyTerminalBlock.)
Public propertyWorldAABB (Inherited from IMyEntity.)
Public propertyWorldAABBHr (Inherited from IMyEntity.)
Public propertyWorldMatrix (Inherited from IMyEntity.)
Public propertyWorldVolume (Inherited from IMyEntity.)
Public propertyWorldVolumeHr (Inherited from IMyEntity.)
Top
See Also