| IMyCockpit Interface |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Sandbox.ModAPI.Ingame.IMyCockpit"]
Namespace: Sandbox.ModAPI.Ingame
public interface IMyCockpit : IMyShipController, IMyTerminalBlock, IMyCubeBlock, IMyEntity
The IMyCockpit type exposes the following members.
| Name | Description | |
|---|---|---|
| BlockDefinition | (Inherited from IMyCubeBlock.) | |
| CastShadows | (Inherited from IMyEntity.) | |
| CheckConnectionAllowed | (Inherited from IMyCubeBlock.) | |
| Closed | (Inherited from IMyEntity.) | |
| Components | (Inherited from IMyEntity.) | |
| ControlThrusters |
Indicates whether thrusters are being controlled by this controller.
(Inherited from IMyShipController.) | |
| ControlWheels |
Indicates whether wheels are being controlled by this controller.
(Inherited from IMyShipController.) | |
| CubeGrid | (Inherited from IMyCubeBlock.) | |
| CustomInfo | (Inherited from IMyTerminalBlock.) | |
| CustomName | (Inherited from IMyTerminalBlock.) | |
| CustomNameWithFaction | (Inherited from IMyTerminalBlock.) | |
| DampenersOverride |
Indicates whether dampeners are currently enabled.
(Inherited from IMyShipController.) | |
| DebugAsyncLoading | (Inherited from IMyEntity.) | |
| DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) | |
| DetailedInfo | (Inherited from IMyTerminalBlock.) | |
| DisassembleRatio | (Inherited from IMyCubeBlock.) | |
| DisplayName | (Inherited from IMyEntity.) | |
| DisplayNameText | (Inherited from IMyCubeBlock.) | |
| EntityId | (Inherited from IMyEntity.) | |
| FastCastShadowResolve | (Inherited from IMyEntity.) | |
| Flags | (Inherited from IMyEntity.) | |
| GameLogic | (Inherited from IMyEntity.) | |
| HandBrake |
Indicates the current state of the handbrake.
(Inherited from IMyShipController.) | |
| Hierarchy | (Inherited from IMyEntity.) | |
| InScene | (Inherited from IMyEntity.) | |
| InvalidateOnMove | (Inherited from IMyEntity.) | |
| IsBeingHacked | (Inherited from IMyCubeBlock.) | |
| IsCCDForProjectiles | (Inherited from IMyEntity.) | |
| IsFunctional | (Inherited from IMyCubeBlock.) | |
| IsUnderControl |
Indicates whether a block is locally or remotely controlled.
(Inherited from IMyShipController.) | |
| IsVolumetric | (Inherited from IMyEntity.) | |
| IsWorking | (Inherited from IMyCubeBlock.) | |
| LocalAABB | (Inherited from IMyEntity.) | |
| LocalAABBHr | (Inherited from IMyEntity.) | |
| LocalMatrix | (Inherited from IMyEntity.) | |
| LocalVolume | (Inherited from IMyEntity.) | |
| LocalVolumeOffset | (Inherited from IMyEntity.) | |
| LocationForHudMarker | (Inherited from IMyEntity.) | |
| MarkedForClose | (Inherited from IMyEntity.) | |
| Mass |
Block mass
(Inherited from IMyCubeBlock.) | |
| Max | (Inherited from IMyCubeBlock.) | |
| MaxGlassDistSq | (Inherited from IMyEntity.) | |
| Min | (Inherited from IMyCubeBlock.) | |
| Name | (Inherited from IMyEntity.) | |
| NearFlag | (Inherited from IMyEntity.) | |
| NeedsDraw | (Inherited from IMyEntity.) | |
| NeedsDrawFromParent | (Inherited from IMyEntity.) | |
| NeedsResolveCastShadow | (Inherited from IMyEntity.) | |
| NeedsUpdate | (Inherited from IMyEntity.) | |
| NumberInGrid | (Inherited from IMyCubeBlock.) | |
| Orientation | (Inherited from IMyCubeBlock.) | |
| OwnerId | (Inherited from IMyCubeBlock.) | |
| Parent | (Inherited from IMyEntity.) | |
| PersistentFlags | (Inherited from IMyEntity.) | |
| Physics | (Inherited from IMyEntity.) | |
| Position | (Inherited from IMyCubeBlock.) | |
| PositionComp | (Inherited from IMyEntity.) | |
| Render | (Inherited from IMyEntity.) | |
| Save | (Inherited from IMyEntity.) | |
| ShadowBoxLod | (Inherited from IMyEntity.) | |
| ShowOnHUD | (Inherited from IMyTerminalBlock.) | |
| SkipIfTooSmall | (Inherited from IMyEntity.) | |
| SyncObject | (Inherited from IMyEntity.) | |
| Transparent | (Inherited from IMyEntity.) | |
| Visible | (Inherited from IMyEntity.) | |
| WorldAABB | (Inherited from IMyEntity.) | |
| WorldAABBHr | (Inherited from IMyEntity.) | |
| WorldMatrix | (Inherited from IMyEntity.) | |
| WorldMatrixInvScaled | (Inherited from IMyEntity.) | |
| WorldMatrixNormalizedInv | (Inherited from IMyEntity.) | |
| WorldVolume | (Inherited from IMyEntity.) | |
| WorldVolumeHr | (Inherited from IMyEntity.) |
| Name | Description | |
|---|---|---|
| AddToGamePruningStructure | (Inherited from IMyEntity.) | |
| BeforeSave | (Inherited from IMyEntity.) | |
| CalculateShipMass |
Gets information about the current mass of the ship.
(Inherited from IMyShipController.) | |
| Close | (Inherited from IMyEntity.) | |
| DebugDraw | (Inherited from IMyEntity.) | |
| DebugDrawInvalidTriangles | (Inherited from IMyEntity.) | |
| Delete | (Inherited from IMyEntity.) | |
| DoOverlapSphereTest | (Inherited from IMyEntity.) | |
| EnableColorMaskForSubparts | (Inherited from IMyEntity.) | |
| GetActions | (Inherited from IMyTerminalBlock.) | |
| GetActionWithName | (Inherited from IMyTerminalBlock.) | |
| GetArtificialGravity |
Gets the detected artificial gravity vector and power at the current location.
(Inherited from IMyShipController.) | |
| GetChildren | (Inherited from IMyEntity.) | |
| GetDiffuseColor | (Inherited from IMyEntity.) | |
| GetDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
| GetDistanceBetweenCameraAndPosition | (Inherited from IMyEntity.) | |
| GetFriendlyName | (Inherited from IMyEntity.) | |
| GetIntersectionWithLineAndBoundingSphere | (Inherited from IMyEntity.) | |
| GetIntersectionWithSphere | (Inherited from IMyEntity.) | |
| GetLargestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
| GetNaturalGravity |
Gets the detected natural gravity vector and power at the current location.
(Inherited from IMyShipController.) | |
| GetObjectBuilder | (Inherited from IMyEntity.) | |
| GetOwnerFactionTag | (Inherited from IMyCubeBlock.) | |
| GetPlayerRelationToOwner | (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.) | |
| GetSmallestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) | |
| GetSubpart | (Inherited from IMyEntity.) | |
| GetTopMostParent | (Inherited from IMyEntity.) | |
| GetTotalGravity |
Gets the total accumulated gravity vector and power at the current location,
taking both natural and artificial gravity into account.
(Inherited from IMyShipController.) | |
| GetTrianglesIntersectingSphere | (Inherited from IMyEntity.) | |
| GetUserRelationToOwner | (Inherited from IMyCubeBlock.) | |
| GetViewMatrix | (Inherited from IMyEntity.) | |
| GetWorldMatrixNormalizedInv | (Inherited from IMyEntity.) | |
| HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) | |
| HasPlayerAccess | (Inherited from IMyTerminalBlock.) | |
| IsVisible | (Inherited from IMyEntity.) | |
| OnAddedToScene | (Inherited from IMyEntity.) | |
| OnRemovedFromScene | (Inherited from IMyEntity.) | |
| RemoveFromGamePruningStructure | (Inherited from IMyEntity.) | |
| SearchActionsOfName | (Inherited from IMyTerminalBlock.) | |
| SetColorMaskForSubparts | (Inherited from IMyEntity.) | |
| SetCustomName(String) | (Inherited from IMyTerminalBlock.) | |
| SetCustomName(StringBuilder) | (Inherited from IMyTerminalBlock.) | |
| SetEmissiveParts |
Sets the emissive value of a specific emissive material on entity.
(Inherited from IMyEntity.) | |
| SetEmissivePartsForSubparts |
Sets the emissive value of a specific emissive material on all entity subparts.
(Inherited from IMyEntity.) | |
| SetLocalMatrix | (Inherited from IMyEntity.) | |
| SetPosition | (Inherited from IMyEntity.) | |
| SetWorldMatrix | (Inherited from IMyEntity.) | |
| TryGetSubpart | (Inherited from IMyEntity.) | |
| UpdateGamePruningStructure | (Inherited from IMyEntity.) | |
| UpdateIsWorking | (Inherited from IMyCubeBlock.) | |
| UpdateVisual | (Inherited from IMyCubeBlock.) |
| Name | Description | |
|---|---|---|
| OnClose | (Inherited from IMyEntity.) | |
| OnClosing | (Inherited from IMyEntity.) | |
| OnMarkForClose | (Inherited from IMyEntity.) | |
| OnPhysicsChanged | (Inherited from IMyEntity.) |