Show / Hide Table of Contents

Class MyCockpit

Inheritance
System.Object
MyEntity
MyCubeBlock
Sandbox.Game.Entities.Cube.MySyncedBlock
Sandbox.Game.Entities.Cube.MyTerminalBlock
MyShipController
MyCockpit
Implements
IMyComponentOwner<MyIDModule>
IMyUpgradableBlock
IMyUpgradableBlock
IMyControllableEntity
IMyShootOrigin
IMyCockpit
IMyCameraController
IMyShipController
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyControllableEntity
IMyTargetingCapableBlock
IMyCockpit
IMyShipController
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyTextSurfaceProvider
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
Inherited Members
MyShipController.BuildingMode
MyShipController.m_getInCockpitSound
MyShipController.m_gridGyroSystem
MyShipController.GridSelectionSystem
MyShipController.hasPower
MyShipController.m_baseIdleSound
MyShipController.m_enableBuilderCockpit
MyShipController.m_enableFirstPerson
MyShipController.m_enableShipControl
MyShipController.m_headLocalPosition
MyShipController.m_lastPilot
MyShipController.m_rechargeSocket
MyShipController.m_singleWeaponMode
MyShipController.m_useSoundEmitter
MyShipController.TargetData
MyShipController.UseFinished()
MyShipController.PickUpFinished()
MyShipController.SwitchWalk()
MyShipController.Sprint(Boolean)
MyShipController.SwitchBroadcasting()
MyShipController.SwitchReactorsLocal()
MyShipController.CanSwitchToWeapon(Nullable<MyDefinitionId>)
MyShipController.SwitchToWeapon(MyDefinitionId)
MyShipController.SwitchToWeapon(MyToolbarItemWeapon)
MyShipController.BeginShoot(MyShootActionEnum)
MyShipController.EndShoot(MyShootActionEnum)
MyShipController.OnBeginShoot(MyShootActionEnum)
MyShipController.OnEndShoot(MyShootActionEnum)
MyShipController.IMyControllableEntity.GetHeadMatrix(Boolean, Boolean, Boolean, Boolean)
MyShipController.IMyControllableEntity.MoveAndRotate(Vector3, Vector2, Single)
MyShipController.IMyControllableEntity.MoveAndRotateStopped()
MyShipController.IMyControllableEntity.Use()
MyShipController.IMyControllableEntity.UseContinues()
MyShipController.IMyControllableEntity.PickUp()
MyShipController.IMyControllableEntity.PickUpContinues()
MyShipController.IMyControllableEntity.Jump(Vector3)
MyShipController.IMyControllableEntity.Up()
MyShipController.IMyControllableEntity.Crouch()
MyShipController.IMyControllableEntity.Down()
MyShipController.IMyControllableEntity.ShowInventory()
MyShipController.IMyControllableEntity.ShowTerminal()
MyShipController.IMyControllableEntity.ShowRemoteAccessMenu()
MyShipController.IMyControllableEntity.SwitchThrusts()
MyShipController.IMyControllableEntity.SwitchDamping()
MyShipController.IMyControllableEntity.SwitchLights()
MyShipController.IMyControllableEntity.SwitchLandingGears()
MyShipController.IMyControllableEntity.SwitchHandbrake()
MyShipController.IMyControllableEntity.SwitchReactors()
MyShipController.IMyControllableEntity.SwitchHelmet()
MyShipController.IMyControllableEntity.Die()
MyShipController.IMyControllableEntity.SwitchAmmoMagazine()
MyShipController.IMyControllableEntity.CanSwitchAmmoMagazine()
MyShipController.GetCameraEntitySettings()
MyShipController.ShouldEndShootingOnPause(MyShootActionEnum)
MyShipController.IsTargetLockingEnabled()
MyShipController.SetLockedTarget(IMyCubeGrid)
MyShipController.SetLockedTarget(IMyCharacter)
MyShipController.GetWorldMatrix()
MyShipController.CanActiveToolShoot()
MyShipController.IsShipToolSelected()
MyShipController.GetActiveToolPosition()
MyShipController.WheelJump(Boolean)
MyShipController.TryEnableBrakes(Boolean)
MyShipController.IsShooting(MyShootActionEnum)
MyShipController.IsShooting()
MyShipController.MoveAndRotate(Vector3, Vector2, Single)
MyShipController.WheelJumpFromOtherBlock(Boolean)
MyShipController.MoveAndRotate()
MyShipController.MoveAndRotateStopped()
MyShipController.ClearMovementControl()
MyShipController.UpdatingStopped()
MyShipController.UpdateControls()
MyShipController.UpdateAfterSimulation()
MyShipController.HasPriorityOver(MyShipController, MyShipController)
MyShipController.RefreshControlNotifications()
MyShipController.RemoveControlNotifications()
MyShipController.OnControlAcquired(MyEntityController)
MyShipController.ForceReleaseControl()
MyShipController.Shoot(MyShootActionEnum)
MyShipController.Zoom(Boolean)
MyShipController.Use()
MyShipController.PlayUseSound(Boolean)
MyShipController.RaiseControlledEntityUsed()
MyShipController.UseContinues()
MyShipController.PickUp()
MyShipController.PickUpContinues()
MyShipController.Crouch()
MyShipController.Jump(Vector3)
MyShipController.Up()
MyShipController.Down()
MyShipController.SwitchDamping()
MyShipController.SwitchThrusts()
MyShipController.Die()
MyShipController.SwitchLights()
MyShipController.SwitchHandbrake()
MyShipController.SwitchParkedStatus()
MyShipController.SwitchLandingGears()
MyShipController.SwitchReactors()
MyShipController.DrawHud(IMyCameraController, Int64)
MyShipController.SetWeaponSystem(MyGridWeaponSystem)
MyShipController.sync_ControlledEntity_Used()
MyShipController.EndShootAll()
MyShipController.RemoveUsers(Boolean)
MyShipController.CanHaveHorizon()
MyShipController.IsMainCockpitFree()
MyShipController.IsControllingCockpit()
MyShipController.BeginShootSync(MyShootActionEnum)
MyShipController.EndShootSync(MyShootActionEnum)
MyShipController.GetNetState()
MyShipController.SetNetState(MyGridClientState)
MyShipController.RemoveControlSystem(MyGroupControlSystem)
MyShipController.AddControlSystem(MyGroupControlSystem)
MyShipController.FindProjectedBlock()
MyShipController.IMyControllableEntity.DrawHud(IMyCameraController, Int64)
MyShipController.GetNaturalGravity()
MyShipController.GetArtificialGravity()
MyShipController.GetTotalGravity()
MyShipController.IMyShipController.GetShipSpeed()
MyShipController.IMyShipController.GetShipVelocities()
MyShipController.CalculateShipMass()
MyShipController.IMyShipController.TryGetPlanetElevation(MyPlanetElevation, Double)
MyShipController.IMyShipController.TryGetPlanetPosition(Vector3D)
MyShipController.GetInCockpitSound
MyShipController.GetOutOfCockpitSound
MyShipController.GridGyroSystem
MyShipController.GridReflectorLights
MyShipController.GridResourceDistributor
MyShipController.GridWheels
MyShipController.EntityThrustComponent
MyShipController.LeaveNotificationHintText
MyShipController.EnableShipControl
MyShipController.PlayDefaultUseSound
MyShipController.OnLockedToolbar
MyShipController.HasWheels
MyShipController.Priority
MyShipController.NeedsPerFrameUpdate
MyShipController.EnableFirstPersonView
MyShipController.RaycasterHitBlock
MyShipController.IsUsing
MyShipController.ControlThrusters
MyShipController.ControlWheels
MyShipController.ControlGyros
MyShipController.SingleWeaponMode
MyShipController.IsMainCockpit
MyShipController.IsTargetLockingEnabledValue
MyShipController.HorizonIndicatorEnabled
MyShipController.Toolbar
MyShipController.IsAutopilotControlled
MyShipController.PrimaryLookaround
MyShipController.Entity
MyShipController.ControllerInfo
MyShipController.ToolbarType
MyShipController.IMyControllableEntity.ForceFirstPersonCamera
MyShipController.IMyControllableEntity.EnabledThrusts
MyShipController.IMyControllableEntity.EnabledDamping
MyShipController.IMyControllableEntity.EnabledLights
MyShipController.IMyControllableEntity.EnabledLeadingGears
MyShipController.IMyControllableEntity.EnabledReactors
MyShipController.IMyControllableEntity.EnabledBroadcasting
MyShipController.IMyControllableEntity.EnabledHelmet
MyShipController.ControlContext
MyShipController.AuxiliaryContext
MyShipController.RelativeDampeningEntity
MyShipController.CanHavePreviousControlledEntity
MyShipController.PreviousControlledEntity
MyShipController.CanHavePreviousCameraEntity
MyShipController.GetPreviousCameraEntity
MyShipController.ControlGroup
MyShipController.TopGrid
MyShipController.LocationForHudMarker
MyShipController.IMyShipController.IsMainCockpit
MyShipController.IMyShipController.IsUnderControl
MyShipController.IMyShipController.ControlWheels
MyShipController.IMyShipController.ControlThrusters
MyShipController.IMyShipController.HandBrake
MyShipController.IMyShipController.DampenersOverride
MyShipController.IMyShipController.CenterOfMass
MyShipController.IsDefault3rdView
MyShipController.ShootOrigin
MyShipController.GetAmmoDefinition
MyShipController.MaxShootRange
MyShipController.AreBreaksOn
MyShipController.PreviousController
MyShipController.CanSwitchLandingGears
MyShipController.IMyControllableEntity.Entity
MyShipController.RelativeDampeningDistance
MyShipController.IMyControllableEntity.RelativeDampeningTarget
MyShipController.LastMotionIndicator
MyShipController.LastRotationIndicator
MyShipController.IMyControllableEntity.ControllerInfo
MyShipController.IMyShipController.CanControlShip
MyShipController.IMyShipController.HasWheels
MyShipController.IMyShipController.ShowHorizonIndicator
MyShipController.IMyShipController.MoveIndicator
MyShipController.IMyShipController.RotationIndicator
MyShipController.IMyShipController.RollIndicator
MyShipController.IMyShipController.HasFirstPersonCamera
MyShipController.IMyShipController.Pilot
MyShipController.IMyShipController.LastPilot
MyShipController.IMyShipController.IsShooting
MyCubeBlock.MAX_CUSTOM_NAME_LENGTH
MyCubeBlock.DUMMY_SUBBLOCK_ID
MyCubeBlock.m_soundEmitter
MyCubeBlock.m_emissiveNames
MyCubeBlock.CurrentAttachedUpgradeModules
MyCubeBlock.IsBeingRemoved
MyCubeBlock.m_activeEffects
MyCubeBlock.SlimBlock
MyCubeBlock.IsSilenced
MyCubeBlock.SilenceInChange
MyCubeBlock.UsedUpdateEveryFrame
MyCubeBlock.HandleEmissiveStateChange
MyCubeBlock.InitSkinUpdateHandled
MyCubeBlock.SubBlocks
MyCubeBlock.m_forceBlockDestructible
MyCubeBlock.GetOwnerFactionTag()
MyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.FriendlyWithBlock(MyCubeBlock)
MyCubeBlock.UpdateIsWorking()
MyCubeBlock.CanContinueBuild()
MyCubeBlock.GetInteractiveObject(UInt32)
MyCubeBlock.ReleaseInventory(MyInventory, Boolean)
MyCubeBlock.OnConstraintAdded(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.OnConstraintRemoved(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.Init()
MyCubeBlock.HasUnparentedSubpart()
MyCubeBlock.GetLocalMatrix(Matrix)
MyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.Components_ComponentAdded(Type, IMyEntityComponentBase)
MyCubeBlock.Components_ComponentRemoved(Type, IMyEntityComponentBase)
MyCubeBlock.GetObjectBuilder(Boolean)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.WorldPositionChanged(Object)
MyCubeBlock.SetEmissiveStateWorking()
MyCubeBlock.SetEmissiveStateDisabled()
MyCubeBlock.SetEmissiveStateDamaged()
MyCubeBlock.SetEmissiveState(MyStringHash, UInt32, String)
MyCubeBlock.UpdateEmissiveParts(UInt32, Single, Color, Color)
MyCubeBlock.GetDefaultEmissiveParts(Byte)
MyCubeBlock.UpdateSkin(Boolean)
MyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.ContactPointCallback(MyGridContactInfo)
MyCubeBlock.OnDestroy()
MyCubeBlock.ChangeBlockOwnerRequest(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.SetDamageEffectDelayed(Boolean)
MyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.StopDamageEffect(Boolean)
MyCubeBlock.ChangeOwner(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.IMyComponentOwner<MyIDModule>.GetComponent(MyIDModule)
MyCubeBlock.OnCubeGridChanged(MyCubeGrid)
MyCubeBlock.OnTeleport()
MyCubeBlock.AllSubBlocksInitialized()
MyCubeBlock.AddSubBlock(String, MySlimBlock)
MyCubeBlock.SubBlocksInitialized(Boolean)
MyCubeBlock.OnSubBlockClosing(MySlimBlock)
MyCubeBlock.RemoveSubBlock(String, Boolean)
MyCubeBlock.GetBlockGridOffset(MyCubeBlockDefinition)
MyCubeBlock.GetSubBlockDataFromDummy(MyCubeBlockDefinition, String, MyModelDummy, Boolean, MyCubeBlockDefinition, MatrixD, Vector3)
MyCubeBlock.GetMass()
MyCubeBlock.GetGeometryLocalBox()
MyCubeBlock.GetSubBlocks()
MyCubeBlock.TryGetSubBlock(String, MySlimBlock)
MyCubeBlock.GetComponent()
MyCubeBlock.AddUpgradeValue(String, Single)
MyCubeBlock.CommitUpgradeValues()
MyCubeBlock.CreateRenderer(MyPersistentEntityFlags2, Vector3, Object)
MyCubeBlock.GetFractureComponent()
MyCubeBlock.RefreshModels(String, String)
MyCubeBlock.OnInventoryComponentAdded(MyInventoryBase)
MyCubeBlock.OnInventoryComponentRemoved(MyInventoryBase)
MyCubeBlock.GetIntersectionWithLine(LineD, Nullable<MyIntersectionResultLineTriangleEx>, IntersectionFlags)
MyCubeBlock.DisableUpdates()
MyCubeBlock.ReceivedDamage(Single, MyStringHash, Int64, Int64, Boolean, Nullable<MyStringHash>)
MyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.IMyCubeBlock.CalculateCurrentModel(Matrix)
MyCubeBlock.IMyCubeBlock.GetObjectBuilderCubeBlock(Boolean)
MyCubeBlock.IMyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.IMyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.IMyCubeBlock.Init()
MyCubeBlock.IMyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.IMyCubeBlock.OnDestroy()
MyCubeBlock.IMyCubeBlock.OnModelChange()
MyCubeBlock.IMyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.IMyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.IMyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.IMyCubeBlock.RaycastDetectors(Vector3D, Vector3D)
MyCubeBlock.IMyCubeBlock.ReloadDetectors(Boolean)
MyCubeBlock.IMyCubeBlock.UpdateIsWorking()
MyCubeBlock.IMyCubeBlock.UpdateVisual()
MyCubeBlock.IMyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.IMyUpgradableBlock.GetUpgrades(Dictionary<String, Single>)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.IMyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.IsBeingHacked
MyCubeBlock.UsesEmissivePreset
MyCubeBlock.HighlightMode
MyCubeBlock.Physics
MyCubeBlock.OwnerId
MyCubeBlock.BuiltBy
MyCubeBlock.ResourceSink
MyCubeBlock.Min
MyCubeBlock.Max
MyCubeBlock.Orientation
MyCubeBlock.Position
MyCubeBlock.CubeGrid
MyCubeBlock.UseObjectsComponent
MyCubeBlock.CheckConnectionAllowed
MyCubeBlock.NumberInGrid
MyCubeBlock.IsFunctional
MyCubeBlock.IsBuilt
MyCubeBlock.DisassembleRatio
MyCubeBlock.IsWorking
MyCubeBlock.IDModule
MyCubeBlock.IsSubBlock
MyCubeBlock.SubBlockName
MyCubeBlock.OwnerBlock
MyCubeBlock.DefinitionDisplayNameText
MyCubeBlock.ForceBlockDestructible
MyCubeBlock.HasDamageEffect
MyCubeBlock.UpgradeValues
MyCubeBlock.IMyCubeBlock.BlockDefinition
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CheckConnectionAllowed
MyCubeBlock.IMyCubeBlock.Mass
MyCubeBlock.IMyCubeBlock.SlimBlock
MyCubeBlock.IMyUpgradableBlock.UpgradeCount
MyCubeBlock.IMyCubeBlock.ResourceSink
MyCubeBlock.CheckConnectionChanged
MyCubeBlock.IsWorkingChanged
MyCubeBlock.GetEmissiveStateHashFromComponent
MyCubeBlock.CanContinueBuildCheck
MyCubeBlock.OnUpdateBeforenextFrame
MyCubeBlock.OnUpgradeValuesChanged
MyCubeBlock.IMyCubeBlock.IsWorkingChanged
MyCubeBlock.CubeGridChanged
MyEntity.m_contactPoint
MyEntity.DefinitionId
MyEntity.DebugAsyncLoading
MyEntity.m_hudParams
MyEntity.m_positionResetFromServer
MyEntity.m_modelCollision
MyEntity.GamePruningProxyId
MyEntity.TopMostPruningProxyId
MyEntity.StaticForPruningStructure
MyEntity.TargetPruningProxyId
MyEntity.IsPreviewChanged
MyEntity.ReadyForReplicationAction
MyEntity.PropagateSubpartRotationThroughHieerarchy
MyEntity.ReplicationStarted
MyEntity.ReplicationEnded
MyEntity.OnEntityCloseRequest
MyEntity.InstantiateSubpartOverrideFunc
MyEntity.AddToGamePruningStructureExtCallBack
MyEntity.RemoveFromGamePruningStructureExtCallBack
MyEntity.UpdateGamePruningStructureExtCallBack
MyEntity.MyEntityFactoryCreateObjectBuilderExtCallback
MyEntity.CreateDefaultSyncEntityExtCallback
MyEntity.MyWeldingGroupsAddNodeExtCallback
MyEntity.MyWeldingGroupsRemoveNodeExtCallback
MyEntity.MyWeldingGroupsGetGroupNodesExtCallback
MyEntity.MyWeldingGroupsGroupExistsExtCallback
MyEntity.MyProceduralWorldGeneratorTrackEntityExtCallback
MyEntity.CreateStandardRenderComponentsExtCallback
MyEntity.InitComponentsExtCallback
MyEntity.MyEntitiesCreateFromObjectBuilderExtCallback
MyEntity.DebugDraw()
MyEntity.DebugDrawInvalidTriangles()
MyEntity.AddDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ContainsDebugRenderComponent(Type)
MyEntity.TryGetDebugRenderComponent<T>(T)
MyEntity.RemoveDebugRenderComponent(Type)
MyEntity.RemoveDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ClearDebugRenderComponents()
MyEntity.GetTopMostParent(Type)
MyEntity.CanBeAddedToRender()
MyEntity.InitComponentsForTesting()
MyEntity.OnCreateSync()
MyEntity.CreateSync()
MyEntity.GetSubpart(String)
MyEntity.TryGetSubpart(String, MyEntitySubpart)
MyEntity.Simulate()
MyEntity.UpdateAfterSimulation100()
MyEntity.GetFriendlyName()
MyEntity.Teleport(MatrixD, Object, Boolean)
MyEntity.DebugDrawPhysics()
MyEntity.GetIntersectionWithLine(LineD, Nullable<Vector3D>, Boolean, IntersectionFlags)
MyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.GetIntersectionWithAABB(BoundingBoxD)
MyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenPlayerPositionAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.GetBaseEntity()
MyEntity.OnReplicationStarted()
MyEntity.OnReplicationEnded()
MyEntity.SetFadeOut(Boolean)
MyEntity.AddToGamePruningStructure()
MyEntity.RemoveFromGamePruningStructure()
MyEntity.UpdateGamePruningStructure()
MyEntity.RaisePhysicsChanged()
MyEntity.Init(MyObjectBuilder_EntityBase)
MyEntity.BeforeGameLogicInit()
MyEntity.ClampToWorld()
MyEntity.Init(StringBuilder, String, MyEntity, Nullable<Single>, String)
MyEntity.Delete()
MyEntity.BeforeDelete()
MyEntity.Close()
MyEntity.BeforeSave()
MyEntity.PrepareForDraw()
MyEntity.BeforePaste()
MyEntity.AfterPaste()
MyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.UpdateNamedEmissiveParts(UInt32, String, Color, Single)
MyEntity.InstantiateSubpart(MyModelDummy, MyEntitySubpart.Data)
MyEntity.GetCubeBlockParent(MyEntity)
MyEntity.ToString()
MyEntity.GetInventoryBase(Int32)
MyEntity.GetInventoryBase()
MyEntity.SerializeControls(BitStream)
MyEntity.DeserializeControls(BitStream, Boolean)
MyEntity.ApplyLastControls()
MyEntity.ResetControls()
MyEntity.Pin()
MyEntity.Unpin()
MyEntity.UpdateSoundContactPoint(Int64, Vector3, Vector3, Vector3, Single)
MyEntity.IMyEntity.GetTopMostParent(Type)
MyEntity.IMyEntity.GetChildren(List<IMyEntity>, Func<IMyEntity, Boolean>)
MyEntity.IMyEntity.GetFriendlyName()
MyEntity.IMyEntity.Close()
MyEntity.IMyEntity.Delete()
MyEntity.IMyEntity.GetDiffuseColor()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.IMyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.IMyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.IMyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.IMyEntity.GetObjectBuilder(Boolean)
MyEntity.IMyEntity.IsVisible()
MyEntity.IMyEntity.GetViewMatrix()
MyEntity.IMyEntity.GetWorldMatrixNormalizedInv()
MyEntity.IMyEntity.SetLocalMatrix(Matrix, Object)
MyEntity.IMyEntity.SetWorldMatrix(MatrixD, Object)
MyEntity.IMyEntity.SetPosition(Vector3D)
MyEntity.IMyEntity.EnableColorMaskForSubparts(Boolean)
MyEntity.IMyEntity.SetColorMaskForSubparts(Vector3)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<String, MyTextureChange>)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<MyStringId, MyTextureChange>)
MyEntity.IMyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.IMyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetPosition()
MyEntity.Components
MyEntity.Name
MyEntity.PositionComp
MyEntity.Render
MyEntity.GameLogic
MyEntity.EntityId
MyEntity.SyncObject
MyEntity.Storage
MyEntity.EntityStorage
MyEntity.Closed
MyEntity.MarkedForClose
MyEntity.MaxGlassDistSq
MyEntity.Save
MyEntity.IsPreview
MyEntity.IsReadyForReplication
MyEntity.NeedsUpdate
MyEntity.WorldMatrix
MyEntity.Parent
MyEntity.Hierarchy
MyEntity.IMyEntity.Hierarchy
MyEntity.IMyEntity.Physics
MyEntity.InvalidateOnMove
MyEntity.SyncFlag
MyEntity.NeedsWorldMatrix
MyEntity.InScene
MyEntity.IsVolumetric
MyEntity.Model
MyEntity.ModelCollision
MyEntity.DisplayName
MyEntity.DebugName
MyEntity.Subparts
MyEntity.IsCCDForProjectiles
MyEntity.Pinned
MyEntity.UpdateDuration
MyEntity.IsReplicated
MyEntity.InventoryCount
MyEntity.HasInventory
MyEntity.DisplayNameText
MyEntity.LastSnapshotFlags
MyEntity.Flags
MyEntity.IMyEntity.Parent
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.DebugAsyncLoading
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.MarkedForClose
MyEntity.IMyEntity.Closed
MyEntity.IMyEntity.Model
MyEntity.IMyEntity.GameLogic
MyEntity.IMyEntity.NeedsUpdate
MyEntity.IMyEntity.NearFlag
MyEntity.IMyEntity.CastShadows
MyEntity.IMyEntity.FastCastShadowResolve
MyEntity.IMyEntity.NeedsResolveCastShadow
MyEntity.IMyEntity.MaxGlassDistSq
MyEntity.IMyEntity.NeedsDraw
MyEntity.IMyEntity.NeedsDrawFromParent
MyEntity.IMyEntity.Transparent
MyEntity.IMyEntity.ShadowBoxLod
MyEntity.IMyEntity.SkipIfTooSmall
MyEntity.IMyEntity.Storage
MyEntity.IMyEntity.Visible
MyEntity.IMyEntity.Save
MyEntity.IMyEntity.PersistentFlags
MyEntity.IMyEntity.InScene
MyEntity.IMyEntity.InvalidateOnMove
MyEntity.IMyEntity.IsCCDForProjectiles
MyEntity.IMyEntity.IsVolumetric
MyEntity.IMyEntity.LocalAABB
MyEntity.IMyEntity.LocalAABBHr
MyEntity.IMyEntity.LocalMatrix
MyEntity.IMyEntity.LocalVolume
MyEntity.IMyEntity.LocalVolumeOffset
MyEntity.IMyEntity.LocationForHudMarker
MyEntity.IMyEntity.Synchronized
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldMatrixInvScaled
MyEntity.IMyEntity.WorldMatrixNormalizedInv
MyEntity.IMyEntity.ModelCollision
MyEntity.IMyEntity.HasInventory
MyEntity.IMyEntity.InventoryCount
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.WorldAABB
MyEntity.IMyEntity.WorldAABBHr
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldVolume
MyEntity.IMyEntity.WorldVolumeHr
MyEntity.StopPhysicsActivation
MyEntity.OnMarkForClose
MyEntity.OnClose
MyEntity.OnClosing
MyEntity.OnModelRefresh
MyEntity.OnUpdateOnceBeforeNextFrame
MyEntity.OnDebugDraw
MyEntity.OnPhysicsChanged
MyEntity.OnPhysicsComponentChanged
MyEntity.AddedToScene
MyEntity.RemovedFromScene
MyEntity.OnTeleported
MyEntity.IMyEntity.OnClose
MyEntity.IMyEntity.OnClosing
MyEntity.IMyEntity.OnMarkForClose
MyEntity.IMyEntity.OnPhysicsChanged
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
[MyCubeBlockType]
[MyTerminalInterface]
public class MyCockpit : MyShipController, IMyComponentOwner<MyIDModule>, IMyUpgradableBlock, IMyUpgradableBlock, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyControllableEntity, IMyRechargeSocketOwner, IMyShootOrigin, IMyPilotable, IMyShipControl, IMyWheelControllableEntity, IMyUsableEntity, IMyCockpit, IMyCameraController, IMyShipController, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyControllableEntity, IMyTargetingCapableBlock, IMyCockpit, IMyShipController, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyTextSurfaceProvider, IMyTextSurfaceProvider, IMyGasBlock, IMyConveyorEndpointBlock, IMyMultiTextPanelComponentOwner, IMyTextPanelComponentOwner

Constructors

MyCockpit()

Declaration
public MyCockpit()

Fields

m_characterDummy

Declaration
protected MatrixD m_characterDummy
Field Value
Type Description
MatrixD

m_pilot

Declaration
protected MyCharacter m_pilot
Field Value
Type Description
Sandbox.Game.Entities.Character.MyCharacter

m_pilotClosedHandler

Declaration
protected readonly Action<MyEntity> m_pilotClosedHandler
Field Value
Type Description
System.Action<MyEntity>

m_pilotGunDefinition

Declaration
protected Nullable<MyDefinitionId> m_pilotGunDefinition
Field Value
Type Description
System.Nullable<MyDefinitionId>

MAX_DRAW_DISTANCE

Declaration
public const double MAX_DRAW_DISTANCE = 200
Field Value
Type Description
System.Double

MAX_SHAKE_DAMAGE

Declaration
public static float MAX_SHAKE_DAMAGE
Field Value
Type Description
System.Single

MaxHeadLocalXAngle

Declaration
protected float MaxHeadLocalXAngle
Field Value
Type Description
System.Single

MaxHeadLocalYAngle

Declaration
protected float MaxHeadLocalYAngle
Field Value
Type Description
System.Single

MinHeadLocalXAngle

Declaration
protected float MinHeadLocalXAngle
Field Value
Type Description
System.Single

MinHeadLocalYAngle

Declaration
protected float MinHeadLocalYAngle
Field Value
Type Description
System.Single

Properties

AiPilot

Declaration
public MyAutopilotBase AiPilot { get; }
Property Value
Type Description
Sandbox.Game.AI.Autopilots.MyAutopilotBase

BlockDefinition

Declaration
public MyCockpitDefinition BlockDefinition { get; }
Property Value
Type Description
MyCockpitDefinition

CameraPosition

Declaration
public Vector3D CameraPosition { get; }
Property Value
Type Description
Vector3D

CameraRotation

Declaration
public Quaternion CameraRotation { get; }
Property Value
Type Description
Quaternion

CanPressurizeRoom

Declaration
public bool CanPressurizeRoom { get; }
Property Value
Type Description
System.Boolean

ConveyorEndpoint

Declaration
public IMyConveyorEndpoint ConveyorEndpoint { get; }
Property Value
Type Description
Sandbox.Game.GameSystems.Conveyors.IMyConveyorEndpoint

ForceFirstPersonCamera

Declaration
public override bool ForceFirstPersonCamera { get; set; }
Property Value
Type Description
System.Boolean
Overrides
MyShipController.ForceFirstPersonCamera

HeadLocalXAngle

Declaration
public override float HeadLocalXAngle { get; set; }
Property Value
Type Description
System.Single
Overrides
MyShipController.HeadLocalXAngle

HeadLocalYAngle

Declaration
public override float HeadLocalYAngle { get; set; }
Property Value
Type Description
System.Single
Overrides
MyShipController.HeadLocalYAngle

IsBeingUsedBy

Declaration
public MyEntity IsBeingUsedBy { get; }
Property Value
Type Description
MyEntity

IsInFirstPersonView

Declaration
public virtual bool IsInFirstPersonView { get; set; }
Property Value
Type Description
System.Boolean

IsOccupied

Declaration
public bool IsOccupied { get; }
Property Value
Type Description
System.Boolean

IsTextPanelOpen

Declaration
public bool IsTextPanelOpen { get; set; }
Property Value
Type Description
System.Boolean

NeighbourPositions

Declaration
public Vector3I[] NeighbourPositions { get; }
Property Value
Type Description
Vector3I[]

OxygenAmount

Declaration
public float OxygenAmount { get; set; }
Property Value
Type Description
System.Single

OxygenAmountMissing

Declaration
public float OxygenAmountMissing { get; }
Property Value
Type Description
System.Single

OxygenFillLevel

Declaration
public float OxygenFillLevel { get; }
Property Value
Type Description
System.Single

PanelComponent

Declaration
public MyTextPanelComponent PanelComponent { get; }
Property Value
Type Description
Sandbox.Game.Entities.Blocks.MyTextPanelComponent

Pilot

Declaration
public override MyCharacter Pilot { get; }
Property Value
Type Description
Sandbox.Game.Entities.Character.MyCharacter
Overrides
MyShipController.Pilot

PilotJetpackEnabledBackup

Declaration
public bool PilotJetpackEnabledBackup { get; }
Property Value
Type Description
System.Boolean

UseGenericLcd

Declaration
public bool UseGenericLcd { get; }
Property Value
Type Description
System.Boolean

Methods

AddShake(Single)

Declaration
public void AddShake(float shakePower)
Parameters
Type Name Description
System.Single shakePower

AllowSelfPulling()

Declaration
public bool AllowSelfPulling()
Returns
Type Description
System.Boolean

AttachAutopilot(MyAutopilotBase, Boolean)

Declaration
public void AttachAutopilot(MyAutopilotBase newAutopilot, bool updateSync = true)
Parameters
Type Name Description
Sandbox.Game.AI.Autopilots.MyAutopilotBase newAutopilot
System.Boolean updateSync

AttachPilot(MyCharacter, Int32, Boolean, Boolean, Boolean)

Declaration
public void AttachPilot(MyCharacter pilot, int seed, bool storeOriginalPilotWorld = true, bool calledFromInit = false, bool merged = false)
Parameters
Type Name Description
Sandbox.Game.Entities.Character.MyCharacter pilot
System.Int32 seed
System.Boolean storeOriginalPilotWorld
System.Boolean calledFromInit
System.Boolean merged

AttachPilotEvent(UseActionEnum, Int64, Int32)

Declaration
[Event(null, 2511)]
[Reliable]
[Server]
public void AttachPilotEvent(UseActionEnum actionEnum, long characterID, int animation)
Parameters
Type Name Description
UseActionEnum actionEnum
System.Int64 characterID
System.Int32 animation

AttachPilotEventFailed(UseActionResult)

Declaration
public void AttachPilotEventFailed(UseActionResult actionResult)
Parameters
Type Name Description
UseActionResult actionResult

CalculateCurrentModel(out Matrix)

Declaration
public override string CalculateCurrentModel(out Matrix orientation)
Parameters
Type Name Description
Matrix orientation
Returns
Type Description
System.String
Overrides
MyCubeBlock.CalculateCurrentModel(out Matrix)

CanBeMainCockpit()

Declaration
protected override bool CanBeMainCockpit()
Returns
Type Description
System.Boolean
Overrides
MyShipController.CanBeMainCockpit()

CanUse(UseActionEnum, IMyControllableEntity)

Declaration
public virtual UseActionResult CanUse(UseActionEnum actionEnum, IMyControllableEntity user)
Parameters
Type Name Description
UseActionEnum actionEnum
IMyControllableEntity user
Returns
Type Description
UseActionResult

CheckEmissiveState(Boolean)

Declaration
public override void CheckEmissiveState(bool force = false)
Parameters
Type Name Description
System.Boolean force
Overrides
MyCubeBlock.CheckEmissiveState(Boolean)

CheckIsWorking()

Declaration
protected override bool CheckIsWorking()
Returns
Type Description
System.Boolean
Overrides
MyCubeBlock.CheckIsWorking()

ClearSavedpilot()

Declaration
public void ClearSavedpilot()

Closing()

Declaration
protected override void Closing()
Overrides
MyShipController.Closing()

ComponentStack_IsFunctionalChanged()

Declaration
protected override void ComponentStack_IsFunctionalChanged()
Overrides
MyShipController.ComponentStack_IsFunctionalChanged()

CreateTerminalControls()

Declaration
protected override void CreateTerminalControls()
Overrides
MyShipController.CreateTerminalControls()

FindFreeNeighbourPosition()

Declaration
protected Nullable<Vector3D> FindFreeNeighbourPosition()
Returns
Type Description
System.Nullable<Vector3D>

GetHeadMatrix(Boolean, Boolean, Boolean, Boolean)

Declaration
public override MatrixD GetHeadMatrix(bool includeY, bool includeX = true, bool forceHeadAnim = false, bool forceHeadBone = false)
Parameters
Type Name Description
System.Boolean includeY
System.Boolean includeX
System.Boolean forceHeadAnim
System.Boolean forceHeadBone
Returns
Type Description
MatrixD
Overrides
MyShipController.GetHeadMatrix(Boolean, Boolean, Boolean, Boolean)

GetHudParams(Boolean)

Declaration
public override List<MyHudEntityParams> GetHudParams(bool allowBlink)
Parameters
Type Name Description
System.Boolean allowBlink
Returns
Type Description
System.Collections.Generic.List<VRage.Game.Gui.MyHudEntityParams>
Overrides
Sandbox.Game.Entities.Cube.MyTerminalBlock.GetHudParams(System.Boolean)

GetObjectBuilderCubeBlock(Boolean)

Declaration
public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
Parameters
Type Name Description
System.Boolean copy
Returns
Type Description
MyObjectBuilder_CubeBlock
Overrides
MyShipController.GetObjectBuilderCubeBlock(Boolean)

GetOverridingFocusMatrix()

Declaration
public Nullable<MatrixD> GetOverridingFocusMatrix()
Returns
Type Description
System.Nullable<MatrixD>

GetPullInformation()

Declaration
public PullInformation GetPullInformation()
Returns
Type Description
Sandbox.Game.GameSystems.Conveyors.PullInformation

GetPushInformation()

Declaration
public PullInformation GetPushInformation()
Returns
Type Description
Sandbox.Game.GameSystems.Conveyors.PullInformation

GetSitAnimation(MyCharacter, Int32)

Declaration
protected string GetSitAnimation(MyCharacter pilot, int seed)
Parameters
Type Name Description
Sandbox.Game.Entities.Character.MyCharacter pilot
System.Int32 seed
Returns
Type Description
System.String

GetViewMatrix()

Declaration
public override MatrixD GetViewMatrix()
Returns
Type Description
MatrixD
Overrides
MyShipController.GetViewMatrix()

GiveControlToPilot()

Declaration
public void GiveControlToPilot()

Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

Declaration
public override void Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
Parameters
Type Name Description
MyObjectBuilder_CubeBlock objectBuilder
MyCubeGrid cubeGrid
Overrides
MyShipController.Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

InitComponents()

Declaration
public override void InitComponents()
Overrides
MyCubeBlock.InitComponents()

InitializeConveyorEndpoint()

Declaration
public void InitializeConveyorEndpoint()

IsCameraController()

Declaration
protected override bool IsCameraController()
Returns
Type Description
System.Boolean
Overrides
MyShipController.IsCameraController()

IsLargeShip()

Declaration
public override bool IsLargeShip()
Returns
Type Description
System.Boolean
Overrides
MyShipController.IsLargeShip()

IsNeighbourPositionFree(Vector3I, out Vector3D)

Declaration
public bool IsNeighbourPositionFree(Vector3I neighbourOffsetI, out Vector3D translation)
Parameters
Type Name Description
Vector3I neighbourOffsetI
Vector3D translation
Returns
Type Description
System.Boolean

NeedsUpdate10()

Declaration
protected bool NeedsUpdate10()
Returns
Type Description
System.Boolean

OnAddedToScene(Object)

Declaration
public override void OnAddedToScene(object source)
Parameters
Type Name Description
System.Object source
Overrides
MyShipController.OnAddedToScene(Object)

OnAssumeControl(IMyCameraController)

Declaration
public void OnAssumeControl(IMyCameraController previousCameraController)
Parameters
Type Name Description
IMyCameraController previousCameraController

OnChangeDescription(Int32, String)

Declaration
[Event(null, 591)]
[Reliable]
[Server]
[Broadcast]
public void OnChangeDescription(int panelId, string description)
Parameters
Type Name Description
System.Int32 panelId
System.String description

OnClosedPanelMessageBox(MyGuiScreenMessageBox.ResultEnum)

Declaration
public void OnClosedPanelMessageBox(MyGuiScreenMessageBox.ResultEnum result)
Parameters
Type Name Description
Sandbox.Graphics.GUI.MyGuiScreenMessageBox.ResultEnum result

OnClosedPanelTextBox(ResultEnum)

Declaration
public void OnClosedPanelTextBox(ResultEnum result)
Parameters
Type Name Description
ResultEnum result

OnControlAcquired_UpdateCamera()

Declaration
protected override void OnControlAcquired_UpdateCamera()
Overrides
MyShipController.OnControlAcquired_UpdateCamera()

OnControlledEntity_Used()

Declaration
protected override void OnControlledEntity_Used()
Overrides
MyShipController.OnControlledEntity_Used()

OnControlReleased(MyEntityController)

Declaration
protected override void OnControlReleased(MyEntityController controller)
Parameters
Type Name Description
Sandbox.Game.World.MyEntityController controller
Overrides
MyShipController.OnControlReleased(MyEntityController)

OnControlReleased_UpdateCamera()

Declaration
protected override void OnControlReleased_UpdateCamera()
Overrides
MyShipController.OnControlReleased_UpdateCamera()

OnInputChanged(MyDefinitionId, Single, MyResourceSinkComponent)

Declaration
protected virtual void OnInputChanged(MyDefinitionId resourceTypeId, float oldInput, MyResourceSinkComponent sink)
Parameters
Type Name Description
MyDefinitionId resourceTypeId
System.Single oldInput
MyResourceSinkComponent sink

OnModelChange()

Declaration
public override void OnModelChange()
Overrides
MyCubeBlock.OnModelChange()

OnOwnershipChanged()

Declaration
protected override void OnOwnershipChanged()
Overrides
Sandbox.Game.Entities.Cube.MyTerminalBlock.OnOwnershipChanged()

OnRegisteredToGridSystems()

Declaration
public override void OnRegisteredToGridSystems()
Overrides
MyShipController.OnRegisteredToGridSystems()

OnReleaseControl(IMyCameraController)

Declaration
public void OnReleaseControl(IMyCameraController newCameraController)
Parameters
Type Name Description
IMyCameraController newCameraController

OnRemovedFromScene(Object)

Declaration
public override void OnRemovedFromScene(object source)
Parameters
Type Name Description
System.Object source
Overrides
MyShipController.OnRemovedFromScene(Object)

OnRequestRemovePilot()

Declaration
[Event(null, 1614)]
[Reliable]
[Server]
public void OnRequestRemovePilot()

OnUnregisteredFromGridSystems()

Declaration
public override void OnUnregisteredFromGridSystems()
Overrides
MyShipController.OnUnregisteredFromGridSystems()

OpenWindow(Boolean, Boolean, Boolean)

Declaration
public void OpenWindow(bool isEditable, bool sync, bool isPublic)
Parameters
Type Name Description
System.Boolean isEditable
System.Boolean sync
System.Boolean isPublic

PlacePilotInSeat(MyCharacter, Int32)

Declaration
protected virtual void PlacePilotInSeat(MyCharacter pilot, int seed)
Parameters
Type Name Description
Sandbox.Game.Entities.Character.MyCharacter pilot
System.Int32 seed

PostBaseInit()

Declaration
protected virtual void PostBaseInit()

RemoveAutopilot(Boolean)

Declaration
public void RemoveAutopilot(bool updateSync = true)
Parameters
Type Name Description
System.Boolean updateSync

RemoveLocal()

Declaration
protected override void RemoveLocal()
Overrides
MyShipController.RemoveLocal()

RemoveOriginalPilotPosition()

Declaration
public void RemoveOriginalPilotPosition()

RemovePilot()

Declaration
public bool RemovePilot()
Returns
Type Description
System.Boolean

RemovePilotFromSeat(MyCharacter)

Declaration
protected virtual void RemovePilotFromSeat(MyCharacter pilot)
Parameters
Type Name Description
Sandbox.Game.Entities.Character.MyCharacter pilot

RequestRemovePilot()

Declaration
public void RequestRemovePilot()

RequestUse(UseActionEnum, MyCharacter)

Declaration
public void RequestUse(UseActionEnum actionEnum, MyCharacter user)
Parameters
Type Name Description
UseActionEnum actionEnum
Sandbox.Game.Entities.Character.MyCharacter user

Rotate(Vector2, Single)

Declaration
public void Rotate(Vector2 rotationIndicator, float roll)
Parameters
Type Name Description
Vector2 rotationIndicator
System.Single roll

RotateStopped()

Declaration
public void RotateStopped()

ShouldSit()

Declaration
protected override bool ShouldSit()
Returns
Type Description
System.Boolean
Overrides
MyShipController.ShouldSit()

ShowInventory()

Declaration
public override void ShowInventory()
Overrides
MyShipController.ShowInventory()

ShowRemoteAccessMenu()

Declaration
public override void ShowRemoteAccessMenu()
Overrides
MyShipController.ShowRemoteAccessMenu()

ShowTerminal()

Declaration
public override void ShowTerminal()
Overrides
MyShipController.ShowTerminal()

StartLoopSound()

Declaration
protected override void StartLoopSound()
Overrides
MyShipController.StartLoopSound()

StopLoopSound()

Declaration
protected override void StopLoopSound()
Overrides
MyShipController.StopLoopSound()

UpdateAfterSimulation10()

Declaration
public override void UpdateAfterSimulation10()
Overrides
MyShipController.UpdateAfterSimulation10()

UpdateBeforeSimulation()

Declaration
public override void UpdateBeforeSimulation()
Overrides
MyCubeBlock.UpdateBeforeSimulation()

UpdateBeforeSimulation10()

Declaration
public override void UpdateBeforeSimulation10()
Overrides
MyCubeBlock.UpdateBeforeSimulation10()

UpdateBeforeSimulation100()

Declaration
public override void UpdateBeforeSimulation100()
Overrides
MyShipController.UpdateBeforeSimulation100()

UpdateCameraAfterChange(Boolean)

Declaration
protected override void UpdateCameraAfterChange(bool resetHeadLocalAngle = true)
Parameters
Type Name Description
System.Boolean resetHeadLocalAngle
Overrides
MyShipController.UpdateCameraAfterChange(Boolean)

UpdateCockpitModel()

Declaration
public virtual void UpdateCockpitModel()

UpdateOnceBeforeFrame()

Declaration
public override void UpdateOnceBeforeFrame()
Overrides
MyCubeBlock.UpdateOnceBeforeFrame()

UpdateScreen()

Declaration
public void UpdateScreen()

UpdateSoundState()

Declaration
protected override void UpdateSoundState()
Overrides
MyShipController.UpdateSoundState()

UpdateVisual()

Declaration
public override void UpdateVisual()
Overrides
MyShipController.UpdateVisual()

Events

IsOccupiedChanged

Declaration
public event Action<IMyCockpit> IsOccupiedChanged
Event Type
Type Description
System.Action<IMyCockpit>

OnPilotAttached

Declaration
public static event Action OnPilotAttached
Event Type
Type Description
System.Action

Explicit Interface Implementations

IMyMultiTextPanelComponentOwner.MultiTextPanel

Declaration
MyMultiTextPanelComponent IMyMultiTextPanelComponentOwner.MultiTextPanel { get; }
Returns
Type Description
MyMultiTextPanelComponent

IMyMultiTextPanelComponentOwner.SelectPanel(List<MyGuiControlListbox.Item>)

Declaration
void IMyMultiTextPanelComponentOwner.SelectPanel(List<MyGuiControlListbox.Item> panelItems)
Parameters
Type Name Description
System.Collections.Generic.List<Sandbox.Graphics.GUI.MyGuiControlListbox.Item> panelItems

IMyCockpit.AttachPilot(IMyCharacter)

Declaration
void IMyCockpit.AttachPilot(IMyCharacter pilot)
Parameters
Type Name Description
IMyCharacter pilot

IMyCockpit.AttachPilot(IMyCharacter, Int32)

Declaration
void IMyCockpit.AttachPilot(IMyCharacter pilot, int animation)
Parameters
Type Name Description
IMyCharacter pilot
System.Int32 animation

IMyCockpit.OxygenFilledRatio

Declaration
float IMyCockpit.OxygenFilledRatio { get; set; }
Returns
Type Description
System.Single

IMyCockpit.RemovePilot()

Declaration
void IMyCockpit.RemovePilot()

IMyCockpit.OxygenCapacity

Declaration
float IMyCockpit.OxygenCapacity { get; }
Returns
Type Description
System.Single

IMyCockpit.OxygenFilledRatio

Declaration
float IMyCockpit.OxygenFilledRatio { get; }
Returns
Type Description
System.Single

IMyTextSurfaceProvider.GetSurface(Int32)

Declaration
IMyTextSurface IMyTextSurfaceProvider.GetSurface(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
IMyTextSurface

IMyTextSurfaceProvider.SurfaceCount

Declaration
int IMyTextSurfaceProvider.SurfaceCount { get; }
Returns
Type Description
System.Int32

IMyCameraController.AllowCubeBuilding

Declaration
bool IMyCameraController.AllowCubeBuilding { get; }
Returns
Type Description
System.Boolean

IMyCameraController.ControlCamera(MyCamera)

Declaration
void IMyCameraController.ControlCamera(MyCamera currentCamera)
Parameters
Type Name Description
VRage.Game.Utils.MyCamera currentCamera

IMyCameraController.ForceFirstPersonCamera

Declaration
bool IMyCameraController.ForceFirstPersonCamera { get; set; }
Returns
Type Description
System.Boolean

IMyCameraController.HandlePickUp()

Declaration
bool IMyCameraController.HandlePickUp()
Returns
Type Description
System.Boolean

IMyCameraController.HandleUse()

Declaration
bool IMyCameraController.HandleUse()
Returns
Type Description
System.Boolean

IMyCameraController.IsInFirstPersonView

Declaration
bool IMyCameraController.IsInFirstPersonView { get; set; }
Returns
Type Description
System.Boolean

IMyCameraController.OnAssumeControl(IMyCameraController)

Declaration
void IMyCameraController.OnAssumeControl(IMyCameraController previousCameraController)
Parameters
Type Name Description
IMyCameraController previousCameraController

IMyCameraController.OnReleaseControl(IMyCameraController)

Declaration
void IMyCameraController.OnReleaseControl(IMyCameraController newCameraController)
Parameters
Type Name Description
IMyCameraController newCameraController

IMyCameraController.Rotate(Vector2, Single)

Declaration
void IMyCameraController.Rotate(Vector2 rotationIndicator, float rollIndicator)
Parameters
Type Name Description
Vector2 rotationIndicator
System.Single rollIndicator

IMyCameraController.RotateStopped()

Declaration
void IMyCameraController.RotateStopped()

Implements

IMyComponentOwner<T>
IMyUpgradableBlock
IMyUpgradableBlock
IMyControllableEntity
IMyShootOrigin
IMyCockpit
IMyCameraController
IMyShipController
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyControllableEntity
IMyTargetingCapableBlock
IMyCockpit
IMyShipController
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyTextSurfaceProvider
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner

Extension Methods

MyEntityInventoryOwnerExtensions.InventoryOwnerType(MyEntity)
MyEntityExtensions.GetPhysicsBody(MyEntity)
MyEntityExtensions.UpdateGamePruningStructure(MyEntity)
MyEntityExtensions.AddToGamePruningStructure(MyEntity)
MyEntityExtensions.RemoveFromGamePruningStructure(MyEntity)
MyEntityExtensions.EntityFactoryCreateObjectBuilder(MyEntity)
MyEntityExtensions.CreateDefaultSyncEntity(MyEntity)
MyEntityExtensions.AddNodeToWeldingGroups(MyEntity)
MyEntityExtensions.RemoveNodeFromWeldingGroups(MyEntity)
MyEntityExtensions.GetWeldingGroupNodes(MyEntity, List<MyEntity>)
MyEntityExtensions.WeldingGroupExists(MyEntity)
MyEntityExtensions.ProceduralWorldGeneratorTrackEntity(MyEntity)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventoryBase)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventory)
MyEntityExtensions.GetInventory(MyEntity, Int32)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾