Assembly: Sandbox.Game.dll

public class MyCubeGrid: MyEntity, IMyEntity, IMyEntity, IMyGridConnectivityTest, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyShootOrigin, IMyParallelUpdateable, IMyCubeGrid, IMyCubeGrid

Grid - small ship, large ship, station Cubes (armor, walls...) are merge and rendered by this entity Blocks (turret, thrusts...) are rendered as child entities

Fields

Member Description
static DebugUpdateHistoryDuration Number of gameplay frames to keep the update history for. Defaults to 120 frames.
static OnLockToolbarPosition
static OnUnLockToolbarPosition
static WorkPriority
static AddToGamePruningStructureExtCallBack Inherited from MyEntity
static CreateDefaultSyncEntityExtCallback Inherited from MyEntity
static CreateStandardRenderComponentsExtCallback Inherited from MyEntity
static InitComponentsExtCallback Inherited from MyEntity
static MyEntitiesCreateFromObjectBuilderExtCallback Inherited from MyEntity
static MyEntityFactoryCreateObjectBuilderExtCallback Inherited from MyEntity
static MyProceduralWorldGeneratorTrackEntityExtCallback Inherited from MyEntity
static MyWeldingGroupsAddNodeExtCallback Inherited from MyEntity
static MyWeldingGroupsGetGroupNodesExtCallback Inherited from MyEntity
static MyWeldingGroupsGroupExistsExtCallback Inherited from MyEntity
static MyWeldingGroupsRemoveNodeExtCallback Inherited from MyEntity
static RemoveFromGamePruningStructureExtCallBack Inherited from MyEntity
static UpdateGamePruningStructureExtCallBack Inherited from MyEntity
BeingCreatedInSplit
BlockCounter
BlocksCounters
BlocksWaitingOnAttachUpdate
CloseGrid
ControlledFromTurret
CreatePhysics
GridGeneralDamageModifier
GridPresenceUpdate
HasMechanicalTopPenindingReattach
HasShipSoundEvents
IdentityAuthorshipBlockCount
InternalInitFinished
IsAccessibleForProgrammableBlock
LastSelectedProductionBlockId
m_occupiedBlocks
m_playedTime Grid play time with player. Used by respawn ship.
MainCockpit
MainRemoteControl
MassSyncProperty This is updated only when a player is sitting in the cockpit and autopilot is enabled.
NpcClaimSecondsRemaining
NpcClaimSecondsRemainingUpdateRequestTime
NpcClaimSecondsRemainingUpdateTime
NumberOfReactors
Projector
XSymmetryOdd
XSymmetryPlane
YSymmetryOdd
YSymmetryPlane
ZSymmetryOdd
ZSymmetryPlane
DebugAsyncLoading Inherited from MyEntity
DefinitionId Inherited from MyEntity
GamePruningProxyId Inherited from MyEntity
InstantiateSubpartOverrideFunc Inherited from MyEntity
IsPreviewChanged Inherited from MyEntity
m_positionResetFromServer Inherited from MyEntity
OnEntityCloseRequest Inherited from MyEntity
PropagateSubpartRotationThroughHieerarchy Inherited from MyEntity
ReadyForReplicationAction Inherited from MyEntity
ReplicationEnded Inherited from MyEntity
ReplicationStarted Inherited from MyEntity
StaticForPruningStructure Inherited from MyEntity
TargetPruningProxyId Inherited from MyEntity
TopMostPruningProxyId Inherited from MyEntity

Events

Member Description
static OnBlockAddedGlobally Called only for single block changes
static OnBlockRemovedGlobally Not called on grid split, or when closing grid
static OnBlocksChangeFinishedGlobally Called on multi block changes. Both arguments may be null. First from where blocks where removed, second - where added
static OnSplitGridCreated
GridPresenceTierChanged
OnBlockAdded
OnBlockClosed
OnBlockIntegrityChanged
OnBlockOwnershipChanged
OnBlockRemoved
OnConnectionChangeCompleted Event triggered, when one of GridLinkTypeEnum connections changed. Used to determine changes in connections. Use may also need react to OnGridMerge/OnGridSplit Event different from OnConnectivityChanged. 1) It is called when all group changes 2) It is called AFTER all group changes, so GetConnectedGrids returning correct results
OnConnectionChanged Event triggered, when one of GridLinkTypeEnum connections changed. Used to determine changes in connections. Use may also need react to OnGridMerge/OnGridSplit
OnDeschedule
OnDynamicNPCGridOrSubgridShooting
OnFatBlockAdded
OnFatBlockClosed
OnFatBlockRemoved
OnGridBlockDamaged
OnGridChanged
OnGridMarkedDirty
OnGridMerge Called, when 2 grids are merged with merge block. First grid - grid that will stay, second - will be merged into first, and deleted. Called for both grids
OnGridSplit
OnHavokSystemIDChanged
OnHierarchyUpdated
OnMassPropertiesChanged
OnMaxThrustChanged May be called from parallel thread
OnMinMaxChanged
OnNameChanged
OnNaturalGravityChanged
OnSolarOccludedChanged
OnStaticChanged
OnTargetLocked
OnTargetLockLost
PlayerPresenceTierChanged
PowerSwitchChanged
SpeedChanged
SyncPropertyChanged
AddedToScene Inherited from MyEntity
GridPresenceTierChanged Triggered when grid presence tier is changed

Inherited from IMyCubeGrid
OnBlockAdded Called when a block is added to the grid

Inherited from IMyCubeGrid
OnBlockIntegrityChanged Triggered when block integrity changes (construction)

Inherited from IMyCubeGrid
OnBlockOwnershipChanged Called when a block on the grid changes owner

Inherited from IMyCubeGrid
OnBlockRemoved Called when a block is removed from the grid

Inherited from IMyCubeGrid
OnClose Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose .

Inherited from IMyEntity
OnClose Inherited from MyEntity
OnClosing Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose .

Inherited from IMyEntity
OnClosing Inherited from MyEntity
OnDebugDraw Inherited from MyEntity
OnGridBlockDamaged Called when one of blocks on grid is taking damage

Inherited from IMyCubeGrid
OnGridChanged Called when a grid is taken control of by a player

Inherited from IMyCubeGrid
OnGridMerge Called, when 2 grids are merged with merge block. First grid - grid that will stay, second - will be merged into first, and deleted. Called for both grids

Inherited from IMyCubeGrid
OnGridSplit Triggered when grid is split

Inherited from IMyCubeGrid
OnIsStaticChanged Triggered when grid changes to or from static (station)

Inherited from IMyCubeGrid
OnMarkForClose Called when Close() is called. Order 1) OnMarkForClose 2) OnClosing 3) OnClose .

Inherited from IMyEntity
OnMarkForClose This event may not be invoked at all, when calling MyEntities.CloseAll, marking is bypassed

Inherited from MyEntity
OnMaxThrustChanged Triggered when max thrust in one of directions was changed. Maybe called from parralel thread

Inherited from IMyCubeGrid
OnModelRefresh Inherited from MyEntity
OnNaturalGravityChanged Triggered when natural gravity changes around the grid

Inherited from IMyCubeGrid
OnPhysicsChanged Called when havok rigid body physics are changed: inited, closed, modified.

Inherited from IMyEntity
OnPhysicsChanged Inherited from MyEntity
OnPhysicsComponentChanged Inherited from MyEntity
OnTargetLocked Called when grid was target locked

Inherited from IMyCubeGrid
OnTeleported Inherited from MyEntity
OnUpdateOnceBeforeNextFrame Inherited from MyEntity
PlayerPresenceTierChanged Triggered when player presence tier is changed

Inherited from IMyCubeGrid
RemovedFromScene Inherited from MyEntity
SpeedChanged Triggered when speed of the grid is changed

Inherited from IMyCubeGrid
OnIsStaticChanged Obsolete: Use OnStaticChanged

Properties

Member Description
static GridCounter
static ShowAiInfo
static ShowAntennaGizmos
static ShowCenterOfMass
static ShowGravityGizmos
static ShowGridPivot
static ShowSenzorGizmos
AllowPrediction
BigOwners players that have the maximum number of functional blocks in cube grid
BlocksCount
BlocksDestructionEnabled
BlocksForDraw
BlocksPCU
ClosestParentId
ConveyorSystem
CubeBlocks
DampenersEnabled
Decoys
DestructibleBlocks
DirtyBlocks
Editable
EntityThrustComponent
ForceDisablePrediction
GameLogic
GetAmmoDefinition
GridPresenceTier
GridScale
GridSize
GridSizeEnum
GridSizeHalf
GridSizeHalfVector
GridSizeQuarter
GridSizeQuarterVector
GridSizeR Reciprocal of gridsize
GridSystems
HasCubeGridRender
HasMechanicalBlocksWaitingOnAttachUpdate
Immune
InitFromClipboard True if created from MyGridClipboardprohibited . Set earlier than IsProjected, before blocks/ec are handled
Inventories
IsBlockAreaChange
IsBlockTrasferInProgress
IsClientPredicted
IsClientPredictedCar
IsClientPredictedWheel
IsGenerated Gets or sets is generated, used for economy stations
IsLargeDestroyInProgress
IsMarkedForEarlyDeactivation
IsNpcSpawnedGrid
IsParked
IsPowerSwitchOn
IsRespawnGrid Gets or sets indication if a grid coresponds to a respawn ship/cart.
IsSmokeParticleActive
IsSolarOccluded
IsSplit
IsStatic
IsTransparentForJumpDrive
IsUnsupportedStation
LastUpdates
LinearVelocity
LocalCoordSystem Local coord system under which this cube exists. (its id)
LockedByCount
MarkedAsTrash
Mass
Max
MaxShootRange
Min
NaturalGravity
NumberOfGridColors Return how many colors are on grid
OccupiedBlocks
Physics
PlayerPresenceTier
RenderData
RvoAgentId
ShapeCount
ShootOrigin
SmallOwners players that have at least one block in cube grid
Speed
SyncType
TrashHighlightCounter
UnsafeBlocks
UpdateFlags
UsesTargetingList
BigOwners List of players with majority of blocks on grid

Inherited from IMyCubeGrid
CastShadows Gets or sets flag CastShadows

Inherited from IMyEntity
Closed True if the block has been removed from the world.

Inherited from IMyEntity
Closed Inherited from MyEntity
Components Gets blocks component logic container

Inherited from IMyEntity
Components Inherited from MyEntity
ControlSystem Gets grid-group control system

Inherited from IMyCubeGrid
ConveyorSystem Gets grid-group conveyor system

Inherited from IMyCubeGrid
CustomName Getter and setter for display name of the grid (as seen in Info terminal tab)

Inherited from IMyCubeGrid
CustomName Display name of the grid (as seen in Info terminal tab)

Inherited from IMyCubeGrid
DebugAsyncLoading Used for internal usage. Modders should not use it. Will be eventually removed

Inherited from IMyEntity
DebugName Inherited from MyEntity
DisplayName Gets user friendly name of entity. May be null For block terminal name use DisplayNameText

Inherited from IMyEntity
DisplayName Gets or sets user friendly name of entity

Inherited from IMyEntity
DisplayName Inherited from MyEntity
DisplayNameText Display Name for GUI etc. Override in descendant classes. Usually used to display in terminal or inventory controls.

Inherited from MyEntity
EntityId Id of entity

Inherited from IMyEntity
EntityId Uniq id of entity.

Inherited from IMyEntity
EntityId Entity id, can be set by subclasses (for example when using pool...)

Inherited from MyEntity
EntityStorage Inherited from MyEntity
FastCastShadowResolve Gets or sets flag CastShadows

Inherited from IMyEntity
Flags Gets or set some behavior of entity. EntityFlags

Inherited from IMyEntity
Flags Inherited from MyEntity
GameLogic Gets or sets game logic for object. If there is more than 1 game logic attached it should be wrapped into.

Inherited from IMyEntity
GameLogic Inherited from MyEntity
GasSystem Gets grid-group gas system

Inherited from IMyCubeGrid
GetAmmoDefinition Gets ammo definition

Inherited from IMyShootOrigin
GridPresenceTier Gets grid presence tier

Inherited from IMyCubeGrid
GridSize Getter of grid size in meters

Inherited from IMyCubeGrid
GridSizeEnum Getter for grid size enum

Inherited from IMyCubeGrid
HasInventory Returns true if this entity has got at least one inventory. Note that one aggregate inventory can contain zero simple inventories => zero will be returned even if GetInventory() != null.

Inherited from IMyEntity
HasInventory Returns true if this entity has got at least one inventory. Note that one aggregate inventory can contain zero simple inventories => zero will be returned even if GetInventoryBase() != null.

Inherited from MyEntity
Hierarchy Gets or sets Hierarchy component

Inherited from IMyEntity
Hierarchy Inherited from MyEntity
InScene Gets or set if grid is InScene. Objects that are not in scene are not updated and drawn.

Inherited from IMyEntity
InScene Inherited from MyEntity
InvalidateOnMove Gets if entity is invalidated on move When visual look of entity depends on position - then InvalidateOnMove should be true

Inherited from IMyEntity
InvalidateOnMove Inherited from MyEntity
InventoryCount Returns the count of the number of inventories this entity has.

Inherited from IMyEntity
InventoryCount Iterate through inventories and return their count.

Inherited from MyEntity
IsBlockTrasferInProgress Gets whether the move block transfer from one grid to another is in progress. This happens during the split operation.

Inherited from IMyCubeGrid
IsCCDForProjectiles Inherited from MyEntity
IsNpcSpawnedGrid Gets if this grid is NPC spawned grid by the system (cargo ship, encounter, etc)

Inherited from IMyCubeGrid
IsPreview Inherited from MyEntity
IsReadyForReplication Inherited from MyEntity
IsReplicated Inherited from MyEntity
IsRespawnGrid Gets or sets if this grid is a respawn grid (can be cleaned up automatically when player leaves)

Inherited from IMyCubeGrid
IsStatic Determines if the grid is static (unmoveable)

Inherited from IMyCubeGrid
IsStatic Gets or sets if the grid is static (station)

Inherited from IMyCubeGrid
IsTransparentForJumpDrive Inherited from MyEntity
IsVolumetric Always returns false

Inherited from IMyEntity
IsVolumetric Inherited from MyEntity
JumpSystem Gets grid-group jump system

Inherited from IMyCubeGrid
LastSnapshotFlags Inherited from MyEntity
LinearVelocity Gets linear velocity of the grid

Inherited from IMyCubeGrid
LocalAABB Gets or sets local axis aligned bounding box. Same as LocalAABBHr , LocalAABB

Inherited from IMyEntity
LocalAABBHr Gets local axis aligned bounding box. Same as LocalAABB , LocalAABB

Inherited from IMyEntity
LocalMatrix Gets or sets local matrix. When entity, has parent, it's world coordinates are calculated from localMatrix and parent world matrix

Inherited from IMyEntity
LocalVolume Gets or sets local volume. Same as LocalVolume

Inherited from IMyEntity
LocalVolumeOffset Gets or sets local volume offset. Same as LocalVolumeOffset

Inherited from IMyEntity
LocationForHudMarker Inherited from MyEntity
MarkedForClose Checked if Close() was called

Inherited from IMyEntity
MarkedForClose Inherited from MyEntity
Max Maximum coordinates of blocks in grid

Inherited from IMyCubeGrid
MaxGlassDistSq Not used in game anymore

Inherited from IMyEntity
MaxGlassDistSq Inherited from MyEntity
MaxShootRange Gets weapon max shoot range

Inherited from IMyShootOrigin
Min Minimum coordinates of blocks in grid

Inherited from IMyCubeGrid
Model Gets model of block

Inherited from IMyEntity
Model Inherited from MyEntity
ModelCollision Gets collision model of block

Inherited from IMyEntity
ModelCollision Inherited from MyEntity
Name Some entities can have uniq name, and game can find them by name TryGetEntityByName(string, out IMyEntity)

Inherited from IMyEntity
Name Uniq name of entity. Can be used to find entity by name

Inherited from IMyEntity
Name Inherited from MyEntity
NaturalGravity Gets natural gravity around the grid

Inherited from IMyCubeGrid
NearFlag Gets or sets flag Near

Inherited from IMyEntity
NeedsDraw Gets or sets flag NeedsDraw

Inherited from IMyEntity
NeedsDrawFromParent Gets or sets flag NeedsDrawFromParent

Inherited from IMyEntity
NeedsResolveCastShadow Gets or sets flag NeedsResolveCastShadow

Inherited from IMyEntity
NeedsUpdate Gets or sets how often the entity should be updated.

Inherited from IMyEntity
NeedsUpdate Inherited from MyEntity
NeedsWorldMatrix Gets or sets if WorldMatrix should be calculated when parent WorldMatrix is changed.

Inherited from IMyEntity
NeedsWorldMatrix Inherited from MyEntity
Parent Gets parent of entity or null, if this entity doesn't have parent. Ex: character sitting in cockpit, has parent - cockpit, cockpit has parent - cube grid, connected grids also has main grid, which would be parent for other grids.

Inherited from IMyEntity
Parent Gets or sets the parent.

Inherited from MyEntity
PersistentFlags Gets or sets persistent flags that are used in rendering.

Inherited from IMyEntity
Physics Gets or sets physics for object

Inherited from IMyEntity
Physics Inherited from MyEntity
Pinned Inherited from MyEntity
PlayerPresenceTier Gets player presence tier

Inherited from IMyCubeGrid
PositionComp Gets or sets position provider logic

Inherited from IMyEntity
PositionComp Inherited from MyEntity
Render Gets or sets render logic

Inherited from IMyEntity
Render Inherited from MyEntity
ResourceDistributor Gets grid-group resource distributor

Inherited from IMyCubeGrid
RvoAgentId Gets RVO Agent ID used for collision avoidance algorithm

Inherited from IMyCubeGrid
Save Gets or sets Save . Entity won't be saved if Save is false

Inherited from IMyEntity
Save Inherited from MyEntity
ShadowBoxLod Gets or sets flag ShadowBoxLod

Inherited from IMyEntity
ShootOrigin Gets shot starting position

Inherited from IMyShootOrigin
SkipIfTooSmall Gets or sets flag SkipIfTooSmall

Inherited from IMyEntity
SmallOwners List of players with any blocks on grid

Inherited from IMyCubeGrid
Speed Gets speed of the grid calculated from Linear Velocity. Rounded to two decimal places.

Inherited from IMyCubeGrid
StopPhysicsActivation Inherited from IMyEntity
StopPhysicsActivation Inherited from MyEntity
Storage Custom storage for mods. Shared with all mods.

Inherited from IMyEntity
Storage Inherited from MyEntity
Subparts Inherited from MyEntity
SyncFlag Inherited from MyEntity
Synchronized Gets or sets if the entity should be synced.

Inherited from IMyEntity
SyncObject Gets SyncObject used for synchronizing data over network with

Inherited from IMyEntity
SyncObject Inherited from MyEntity
Transparent Gets or sets Transparency . When setting true entity would be 25% transparent

Inherited from IMyEntity
UpdateDuration Inherited from MyEntity
UpdateFlags Inherited from IMyParallelUpdateable
Visible Gets or sets flag Visible

Inherited from IMyEntity
WeaponSystem Gets grid-group weapon system

Inherited from IMyCubeGrid
WorldAABB Gets world axis-aligned bounding box

Inherited from IMyEntity
WorldAABBHr Gets world axis-aligned bounding box

Inherited from IMyEntity
WorldMatrix Gets world matrix of this entity

Inherited from IMyEntity
WorldMatrix Gets or sets world matrix.

Inherited from IMyEntity
WorldMatrix Inherited from MyEntity
WorldMatrixInvScaled Get scaled, inverted world matrix. Same as GetViewMatrix() , GetWorldMatrixNormalizedInv() , WorldMatrixNormalizedInv , but not normalized

Inherited from IMyEntity
WorldMatrixNormalizedInv Get normalized, inverted world matrix. Same as GetViewMatrix() , WorldMatrixNormalizedInv

Inherited from IMyEntity
WorldVolume Gets bounding sphere of this entity

Inherited from IMyEntity
WorldVolumeHr Gets bounding sphere of this entity

Inherited from IMyEntity
XSymmetryOdd Gets or sets if the symmetry plane is offset from the block center

Inherited from IMyCubeGrid
XSymmetryPlane Gets or sets X-Axis build symmetry plane

Inherited from IMyCubeGrid
YSymmetryOdd Gets or sets if the symmetry plane is offset from the block center

Inherited from IMyCubeGrid
YSymmetryPlane Gets or sets Y-Axis build symmetry plane

Inherited from IMyCubeGrid
ZSymmetryOdd Gets or sets if the symmetry plane is offset from the block center

Inherited from IMyCubeGrid
ZSymmetryPlane Gets or sets Z-Axis build symmetry plane

Inherited from IMyCubeGrid
IsCCDForProjectiles Obsolete

Inherited from IMyEntity
LocationForHudMarker Obsolete

Inherited from IMyEntity

Constructors

Member Description
MyCubeGrid()
MyEntity() Inherited from MyEntity
MyEntity(bool) Inherited from MyEntity

Methods

Member Description
static BreakGridGroupLink(GridLinkTypeEnum, long, MyCubeGrid, MyCubeGrid)
static CancelPendingTransferRequestsServerSide(Guid, long, long)
static CanHavePhysics(List, int, int) Returns true when grid have at least one block which has physics (lights has no physics)
static CanPasteGrid()
static ChangeOwnersRequest(MyOwnershipShareModeEnum, Dictionary<MyCubeGrid, List>)
static ChangeShareRequest(MyOwnershipShareModeEnum, Dictionary<MyCubeGrid, List>)
static CheckAreaConnectivity(MyCubeGrid, ref MyBlockBuildArea, List, HashSet)
static CheckConnectivity(IMyGridConnectivityTest, MyCubeBlockDefinition, MountPoint[], ref Quaternion, ref Vector3I)
static CheckConnectivitySmallBlockToLargeGrid(MyCubeGrid, MyCubeBlockDefinition, ref Quaternion, ref Vector3I) Performs check whether small cube block given by its definition, rotation can be connected to large grid. Function checks whether a mount point on placed block exists in opposite direction than addNomal.
static CheckMergeConnectivity(MyCubeGrid, MyCubeGrid, Vector3I)
static CheckMountPointsForSide(MyCubeBlockDefinition, MountPoint[], ref MyBlockOrientation, ref Vector3I, ref Vector3I, MyCubeBlockDefinition, MountPoint[], ref MyBlockOrientation, ref Vector3I)
static CheckMountPointsForSide(List, ref MyBlockOrientation, ref Vector3I, MyDefinitionId, ref Vector3I, List, ref MyBlockOrientation, ref Vector3I, MyDefinitionId)
static CheckNeighborMountPoints(Vector3, Vector3, MountPoint, ref Vector3I, MyCubeBlockDefinition, Vector3I, MyCubeBlockDefinition, MountPoint[], MyBlockOrientation, List)
static CheckNeighborMountPointsForCompound(Vector3, Vector3, MountPoint, ref Vector3I, MyCubeBlockDefinition, Vector3I, MyCubeBlockDefinition, MountPoint[], MyBlockOrientation, List)
static ConvertPrefabsToObjs()
static CreateGridGroupLink(GridLinkTypeEnum, long, MyCubeGrid, MyCubeGrid)
static CreateSplit(MyCubeGrid, List, bool, long)
static CreateSplits(MyCubeGrid, List, List, MyTestDisconnectsReason, bool)
static DebugFormatMethodName(MethodInfo)
static ExportObject(MyCubeGrid, bool, bool)
static GetArmorSkinItem(MyStringHash)
static GetCubeParts(MyCubeBlockDefinition, Vector3I, Matrix, float, List, List, List, List, bool)
static GetLineIntersection(ref LineD, out MyCubeGrid, out Vector3I, out double, Func<MyCubeGrid, bool>)
static GetLineIntersectionExact(ref LineD, out MyCubeGrid, out Vector3I, out double)
static GetTargetEntity() Obtain entity that player is aiming/looking at.
static GetTargetGrid() Obtain grid that player is aiming/looking at.
static GridIntegerToWorld(float, Vector3I, MatrixD)
static HandleRemovalOfOwnershipTransferRequests()
static HasStandAloneBlocks(List, int, int) Returns true when grid have at least one stand alone block
static IsAabbInsideVoxel(MatrixD, BoundingBoxD, MyGridPlacementSettings) Checks if aabb is in voxel. If settings provided it will return false if penetration settings allow for it.
static IsGridInCompleteState(MyCubeGrid)
static IsInVoxels(MySlimBlock, bool, bool)
static KillAllCharacters(MyCubeGrid, bool)
static OnChangeOwnersRequestConfirmation(Guid, long, bool)
static PackFiles(string, string)
static PlacePrefabsToWorld()
static PlacePrefabToWorld(MyObjectBuilder_CubeGrid[], Vector3D, List)
static Players_PlayerRemoved(PlayerId)
static Preload()
static RayCastStaticCells(Vector3D, Vector3D, List, float, Vector3I?, bool) Obtains positions of static grid cells regardless of whether these cells are taken up by blocks or not. Usefull when placing block on voxel.
static RemoveSplit(MyCubeGrid, List, int, int, bool)
static ResetInfoGizmos()
static SendHudNotificationAfterPaste()
static ShowMessageGridsRemovedWhilePasting()
static ShowMessageGridsRemovedWhilePastingInternal()
static ShowPasteFailedOperation()
static StartConverting(bool)
static StaticGlobalGrid_UGToWorld(Vector3D, float, bool) Converts static global uniform grid coordinate to world coordinate. Grid size is already used inside calculation.
static StaticGlobalGrid_WorldToUG(Vector3D, float, bool) Converts world coordinate to static global grid uniform coordinate (virtual large grid in whole world which every large grid is snapped to). Grid size is already used inside calculation.
static StaticGlobalGrid_WorldToUGInt(Vector3D, float, bool) Converts world coordinate to static global grid uniform coordinate (virtual large grid in whole world which every large grid is snapped to). Grid size is already used inside calculation.
static TestBlockPlacementArea(MyCubeGrid, ref MyGridPlacementSettings, MyBlockOrientation, MyCubeBlockDefinition, ref Vector3D, ref Quaternion, ref Vector3, ref BoundingBoxD, ulong, MyEntity, bool, bool)
static TestBlockPlacementArea(MyCubeGrid, ref MyGridPlacementSettings, MyBlockOrientation, MyCubeBlockDefinition, ref Vector3D, ref Quaternion, ref Vector3, ref BoundingBoxD, out MyCubeGrid, ulong, MyEntity, bool, bool, bool, bool, bool)
static TestBlockPlacementArea(MyCubeBlockDefinition, MyBlockOrientation?, MatrixD, ref MyGridPlacementSettings, BoundingBoxD, bool, MyEntity, bool)
static TestBlockPlacementAreaVanilla(MyCubeGrid, ref MyGridPlacementSettings, MyBlockOrientation, MyCubeBlockDefinition, ref Vector3D, ref Quaternion, ref Vector3, ref BoundingBoxD, out MyCubeGrid, ulong, MyEntity, bool, bool, bool, bool)
static TestPlacementArea(MyCubeGrid, ref MyGridPlacementSettings, BoundingBoxD, bool, MyEntity)
static TestPlacementArea(MyCubeGrid, bool, ref MyGridPlacementSettings, BoundingBoxD, bool, MyEntity, bool, bool, bool)
static TestPlacementAreaCube(MyCubeGrid, ref MyGridPlacementSettings, Vector3I, Vector3I, MyBlockOrientation, MyCubeBlockDefinition, ulong, MyEntity, bool, bool, bool)
static TestPlacementAreaCube(MyCubeGrid, ref MyGridPlacementSettings, Vector3I, Vector3I, MyBlockOrientation, MyCubeBlockDefinition, out MyCubeGrid, ulong, MyEntity, bool, bool, bool, bool) Test cube block placement area in grid.
static TestPlacementAreaCubeNoAABBInflate(MyCubeGrid, ref MyGridPlacementSettings, Vector3I, Vector3I, MyBlockOrientation, MyCubeBlockDefinition, out MyCubeGrid, ulong, MyEntity, bool, bool)
static TestPlacementForWheel(HkShape, Quaternion, MatrixD, HkBodyCollision, MatrixD, MyCubeBlockDefinition)
static TestPlacementForWheelWhenPlacingWheel(MyAttachableTopBlockBase, MatrixD, Vector3D, List)
static TestPlacementVoxelMapOverlap(MyVoxelBase, ref MyGridPlacementSettings, ref BoundingBoxD, ref MatrixD, bool)
static TestVoxelPlacement(MyCubeBlockDefinition, MyGridPlacementSettings, bool, MatrixD, BoundingBoxD)
static TransformMountPoints(List, MyCubeBlockDefinition, MountPoint[], ref MyBlockOrientation)
static TryPasteGrid_Implementation(MyPasteGridParameters)
static TryRayCastGrid(ref LineD, out MyCubeGrid, out Vector3D)
static GetCubeBlockParent(MyEntity) Inherited from MyEntity
ActivatePhysics()
AddDirtyBone(Vector3I, Vector3I)
AnnounceRemoveSplit(List)
ApplyDestructionDeformation(MySlimBlock, float, MyHitInfo?, long)
ApplyLastControls()
BuildBlockRequestInternal(MyBlockVisuals, MyBlockLocation, MyObjectBuilder_CubeBlock, long, bool, long, ulong, bool)
BuildBlocks(ref MyBlockBuildArea, long, long)
BuildBlocks(Vector3, MyStringHash, HashSet, long, long)
BuildBlocksClient(MyBlockVisuals, HashSet, long, bool, long)
BuildBlocksFailedNotify()
BuildBlockSucess(MyBlockVisuals, MyBlockLocation, MyObjectBuilder_CubeBlock, long, bool, long)
BuildGeneratedBlock(MyBlockLocation, Vector3, MyStringHash)
CalculateMergeTransform(MyCubeGrid, Vector3I)
CanAddCube(Vector3I, MyBlockOrientation?, MyCubeBlockDefinition, bool)
CanAddCubes(Vector3I, Vector3I)
CanBeTeleported(MyGridJumpDriveSystem, out MyJumpFailReason)
CanHavePhysics() Returns true when grid have at least one block which has physics (e.g. interior lights have no physics)
CanMergeCubes(MyCubeGrid, Vector3I)
CanPlaceBlock(Vector3I, Vector3I, MyBlockOrientation, MyCubeBlockDefinition, ulong, int?, bool, bool)
CanPlaceBlock(Vector3I, Vector3I, MyBlockOrientation, MyCubeBlockDefinition, ref MyGridPlacementSettings, ulong, int?, bool, bool)
ChangeColorAndSkin(MySlimBlock, Vector3?, MyStringHash?)
ChangeDisplayNameRequest(string)
ChangeGridOwner(long, MyOwnershipShareModeEnum)
ChangeGridOwnership(long, MyOwnershipShareModeEnum)
ChangeOwner(MyCubeBlock, long, long)
ChangeOwnerRequest(MyCubeGrid, MyCubeBlock, long, MyOwnershipShareModeEnum)
ChangePowerProducerState(MyMultipleEnabledEnum, bool)
ChangePowerProducerStateInternal(MyMultipleEnabledEnum, long, bool)
CheckPredictionFlagScheduling()
ClearSymmetries()
ClientPredictionStaticCheck()
ColorBlocks(Vector3I, Vector3I, Vector3, bool) Color block in area. Verry slow.
ColorGrid(Vector3, bool)
ColorGridOrBlockRequestValidation()
CompetetiveContainerOpened(long, int, Color)
ContainerOpened(long)
ConvertToStatic() Conversion to Unsupported station. For generic conversion to static use physics component. Sets up the Unsupported station state.
CreateSplit_Implementation(List, long)
CreateSplits_Implementation(List, List)
CubeExists(Vector3I)
DepressurizeEffect(Vector3I, Vector3I)
DepressurizeEffect_Implementation(Vector3I, Vector3I)
DeSchedule(UpdateQueue, Action)
DeserializeControls(BitStream, bool)
DetectDisconnectsAfterFrame()
DetectMerge(MySlimBlock, MyCubeGrid, List, bool) Tries to merge this grid with any other grid Merges grids only when both are static Returns the merged grid (which does not necessarily have to be this grid)
DismountAllCockpits()
DoDamage(float, MyHitInfo, Vector3?, long)
EnqueueDestroyedBlock(Vector3I)
EnqueueDestructionDeformationBlock(Vector3I)
EnqueueRemovedBlock(Vector3I)
EnqueueRemovedBlockWithId(Vector3I, ushort?) Server method, adds removed block with compound id into queue
FindBlocksBuiltByID(long) Find all blocks built by a specific player..
FindBlocksBuiltByID(long, HashSet)
FixSkeleton(MySlimBlock, bool)
FixTargetCube(out Vector3I, Vector3) Iterate over all the neighbors of the cube and return when one of them exists.
FixTargetCubeLite(out Vector3I, Vector3D)
GetBiggestGridInGroup() Returns biggest grid in physical group by AABB volume
GetBlocks()
GetBlocksForTool(ref BoundingSphereD, HashSet)
GetBlocksInsideSphere(ref BoundingSphereD, HashSet, bool)
GetBlocksInsideSphereInternal(ref BoundingSphereD, HashSet, GridQueryAccuracy, bool, HashSet)
GetBlocksInsideSpheres(ref BoundingSphereD, ref BoundingSphereD, ref BoundingSphereD, HashSet, HashSet, HashSet, bool, float, ref MatrixD) Optimized version where spheres are sorted from smallest to largest
GetBlocksIntersectingOBB(ref BoundingBoxD, ref MatrixD, List)
GetClosestCorner(Vector3I, Vector3) Returns cube corner which is closest to position
GetConnectedGrids(GridLinkTypeEnum, List) Get all grids connected to this grid
GetConnectedGrids(GridLinkTypeEnum, Action) Iterate over all grids connected to this grid
GetCubeBlock(Vector3I)
GetCurrentMass(GridLinkTypeEnum)
GetCurrentMass(out float, out float, GridLinkTypeEnum)
GetDebugUpdateInfo(List)
GetExistingCubeForBoneDeformations(ref Vector3I, ref MyDamageInformation)
GetExistingCubes(Vector3I, Vector3I, Dictionary<Vector3I, MySlimBlock>, MyDamageInformation?)
GetFatBlockCount()
GetFatBlocks()
GetFatBlocks()
GetFirstBlockOfType()
GetGridGroup(GridLinkTypeEnum)
GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags)
GetIntersectionWithLine(ref LineD, ref MyCubeGridHitInfo, IntersectionFlags)
GetIntersectionWithSphere(ref BoundingSphereD)
GetLineIntersectionExactAll(ref LineD, out double, out MySlimBlock) Returns closest line (in world space) intersection with all cubes.
GetLineIntersectionExactGrid(ref LineD, ref Vector3I, ref double)
GetLineIntersectionExactGrid(ref LineD, ref Vector3I, ref double, HitInfo?)
GetMaxThrustInDirection(Direction)
GetObjectBuilder(bool)
GetOwnerLoginTimeSeconds()
GetOwnerLogoutTimeSeconds()
GetPhysicalGroupAABB()
GetShapesFromPosition(Vector3I)
GetTargetedBlock(Vector3D)
GetTargetedBlockLite(Vector3D)
GridIntegerToWorld(Vector3I)
GridIntegerToWorld(Vector3D)
GunShooting()
HasMainCockpit()
HasMainRemoteControl()
HasStandAloneBlocks() Returns true when grid have at least one stand alone block
HierarchyUpdated(MyCubeGrid)
Init(MyObjectBuilder_EntityBase)
InvokeDepressurizeEffect(Vector3I, Vector3I)
IsConnectedTo(MyCubeGrid, GridLinkTypeEnum) Checks if 2 grids are connected
IsDirty()
IsGizmoDrawingEnabled()
IsInSameLogicalGroupAs(IMyCubeGrid)
IsMainCockpit(MyTerminalBlock)
IsMainRemoteControl(MyTerminalBlock)
IsRoomAtPositionAirtight(Vector3I)
IsSameConstructAs(IMyCubeGrid)
IsTouchingAnyNeighbor(Vector3I, Vector3I)
JumpWithWheels(bool)
LocalToGridInteger(Vector3)
LogHierarchy()
MarkAsTrash()
MechanicalConnectionBlockAttachUpdateStatusChanged(MyMechanicalConnectionBlockBase)
MergeGrid_MergeBlock(MyCubeGrid, Vector3I, bool) Called from MergeBlock to initialte merge of two grids
ModifyGroup(MyBlockGroup)
MultiplyBlockSkeleton(MySlimBlock, float, bool)
OnAddedToScene(object)
OnClosedMessageBox(ResultEnum)
OnConvertedToStationRequest()
OnConvertToDynamic() Conversion from Unsupported station. For generic conversion to dynamic use physics component. Sets up the Unsupported station state.
OnGridPresenceUpdate(bool)
OnIntegrityChanged(MySlimBlock, bool)
OnLogHierarchy()
OnRemovedFromScene(object)
OnReplicationEnded()
OnReplicationStarted()
OnTerminalOpened()
PasteBlocksToGrid(List<MyObjectBuilder_CubeGrid>, long, bool, List)
PlayParticleBroadcast(string, bool)
PrepareForDraw()
RaiseGridChanged()
RaisePhysicsChanged()
RayCastBlocks(Vector3D, Vector3D) Obtains position of first hit block.
RayCastCells(Vector3D, Vector3D, List, Vector3I?, bool, bool) Obtains positions of grid cells regardless of whether these cells are taken up by blocks or not.
RazeBlock(Vector3I, ulong) user is used only if called on server, when called from client, sender steam id will be used
RazeBlocks(ref Vector3I, ref Vector3UByte, long)
RazeBlocks(List, long, ulong) Razes blocks (unbuild) user is used only if locally invoked, if invoked from client, sender steam id is used
RazeBlocksClient(List)
RazeBlocksDelayed(ref Vector3I, ref Vector3UByte, long)
RazeBlocksRequest(List, long, ulong) user is used only if locally invoked, if invoked from client, sender steam id is used
RazeGeneratedBlocks(List)
RazeGeneratedBlocks(List)
RecalculateGravity()
RecalculateOwners()
ReceiveHandbrakeRequestResult(HandbrakeToggleResult, string)
ReceiveParkRequestResult(HandbrakeToggleResult, string)
RegisterDecoy(MyDecoy)
RegisterInventory(MyCubeBlock)
RegisterOccupiedBlock(MyCockpit)
RegisterUnsafeBlock(MyCubeBlock)
RemoveBlock(MySlimBlock, bool)
RemoveBlocksBuiltByIDs(List) Remove all blocks from the grid built by specific player
RemoveBlockWithId(MySlimBlock, bool)
RemoveBlockWithId(Vector3I, bool)
RemoveContainerDropComponent(long)
RemoveDestroyedBlock(MySlimBlock, long) Removes destroyed block, applies damage and deformation to close blocks Won't update physics!
RemoveNPCBlocks()
RequestConversionToShip(Action)
RequestConversionToStation()
RequestFillStockpile(Vector3I, MyInventory)
RequestJump(Vector3D, long, float, long?)
ResetBlockSkeleton(MySlimBlock, bool)
ResetControls()
Schedule(UpdateQueue, Action, int, bool)
SendAbortJump()
SendGridCloseRequest() Use only for cut request
SendIntegrityChanged(MySlimBlock, MyIntegrityChangeEnum, long)
SendReflectorState(MyMultipleEnabledEnum)
SendRemovedBlocks()
SendRemovedBlocksWithIds()
SendStockpileChanged(MySlimBlock, List)
SerializeControls(BitStream)
SetBlockDirty(MySlimBlock)
SetCubeDirty(Vector3I)
SetMainCockpit(MyTerminalBlock)
SetMainRemoteControl(MyTerminalBlock)
SetSolarOcclusion(bool)
SkinBlocks(Vector3I, Vector3I, Vector3?, MyStringHash?, bool) Skin block in area. Verry slow.
SkinGrid(Vector3, MyStringHash, bool, bool, bool)
SplitByPlane(PlaneD)
StartReplay()
StopReplay()
StopSmoke()
SwitchPower()
TargetingAddId(long)
TargetingCanAttackGrid(long)
TargetingRemoveId(long)
TargetingSetWhitelist(bool)
Teleport(MatrixD, object, bool)
ToggleHandbrakeRequest()
ToggleParkStateRequest()
ToString()
TransferBlockLimitsBuiltByID(long, MyBlockLimits, MyBlockLimits)
TransferBlocksBuiltByID(long, long) Transfer all blocks built by a specific player to another player
TransferBlocksBuiltByIDClient(long, long)
TryGetCube(Vector3I, out MyCube)
UnregisterDecoy(MyDecoy)
UnregisterInventory(MyCubeBlock)
UnregisterOccupiedBlock(MyCockpit)
UnregisterUnsafeBlock(MyCubeBlock)
UpdateAfterSimulation()
UpdateAfterSimulation10()
UpdateAfterSimulation100()
UpdateAfterSimulationParallel()
UpdateBeforeSimulation()
UpdateBeforeSimulation10()
UpdateBeforeSimulation100()
UpdateBeforeSimulationParallel()
UpdateBlockNeighbours(MySlimBlock)
UpdateDirty(Action, bool)
UpdateDirtyInternal()
UpdateInstanceData()
UpdateOnceBeforeFrame()
UpdateOwnership(long, bool)
UpdateParticleContactPoint(long, ref Vector3, ref Vector3, ref Vector3, float, float, ContactPointDataTypes)
UpdatePredictionFlag()
UpdateTimeOnClients(int)
WillRemoveBlockSplitGrid(MySlimBlock)
WorldToGridInteger(Vector3D)
WorldToGridScaledLocal(Vector3D)
AddBlock(MyObjectBuilder_CubeBlock, bool) Add a cubeblock to the grid

Inherited from IMyCubeGrid
AddDebugRenderComponent(MyDebugRenderComponentBase) Inherited from MyEntity
AddToGamePruningStructure() Inherited from MyEntity
AfterPaste() Inherited from MyEntity
ApplyDeformation(float, float, float, Vector3, Vector3, MyStringHash, out int, float, float, long) Inherited from IMyCubeGrid
ApplyDestructionDeformation(IMySlimBlock) Applies random deformation to given block

Inherited from IMyCubeGrid
ApplyLastControls() Inherited from MyEntity
BeforePaste() Inherited from MyEntity
BeforeSave() Called before method GetObjectBuilder, when saving sector

Inherited from IMyEntity
BeforeSave() Called before method GetObjectBuilder, when saving sector

Inherited from MyEntity
CalculateMergeTransform(IMyCubeGrid, Vector3I) Transformation matrix that has to be applied to grid blocks to correctly merge it used because ie. ships can be turned 90 degrees along X axis when being merged

Inherited from IMyCubeGrid
CanAddCube(Vector3I) Tests if a cubeblock can be added at the specific location

Inherited from IMyCubeGrid
CanAddCubes(Vector3I, Vector3I) Test if the range of positions are not occupied by any blocks

Inherited from IMyCubeGrid
CanMergeCubes(IMyCubeGrid, Vector3I) Determines if merge between grids is possible with given offset

Inherited from IMyCubeGrid
ChangeGridOwnership(long, MyOwnershipShareModeEnum) Changes owner of all blocks on grid Call only on server!

Inherited from IMyCubeGrid
ClearDebugRenderComponents() Inherited from MyEntity
ClearSymmetries() Clears symmetry planes

Inherited from IMyCubeGrid
Close() This method marks this entity for close which means, that Close will be called after all entities are updated

Inherited from IMyEntity
Close() This method marks this entity for close which means, that Close will be called after all entities are updated

Inherited from MyEntity
ColorBlocks(Vector3I, Vector3I, Vector3) Sets given color mask to range of blocks

Inherited from IMyCubeGrid
ContainsDebugRenderComponent(Type) Inherited from MyEntity
CreateSync() Inherited from MyEntity
CubeExists(Vector3I) Returns true if there is any block occupying given position

Inherited from IMyCubeGrid
DebugDraw() Calls debug draw of entity

Inherited from IMyEntity
DebugDraw() Inherited from MyEntity
DebugDrawInvalidTriangles() Calls special debug draw, that highlighting invalid triangles in model

Inherited from IMyEntity
DebugDrawInvalidTriangles() Inherited from MyEntity
DebugDrawPhysics() Draw physical representation of entity

Inherited from MyEntity
Delete() Performs real cleaning of entity. Should be called by game. Modders should prefer Close() method.

Inherited from IMyEntity
Delete() Every object must have this method, but not every phys object must necessarily have something to cleanup

Inherited from MyEntity
DeserializeControls(BitStream, bool) Inherited from MyEntity
DoOverlapSphereTest(float, Vector3D) Checks if intersects Works only with IMyVoxelBase

Inherited from IMyEntity
DoOverlapSphereTest(float, Vector3D) Inherited from MyEntity
EnableColorMaskForSubparts(bool) Allows subparts have different color than their parent

Inherited from IMyEntity
FixTargetCube(out Vector3I, Vector3) Clamps fractional grid position to nearest cell (prefers neighboring occupied cell before empty)

Inherited from IMyCubeGrid
GetBaseEntity() Inherited from MyEntity
GetBlocks(List, Func<IMySlimBlock, bool>) Returns blocks in grid

Inherited from IMyCubeGrid
GetBlocksInsideSphere(ref BoundingSphereD) Returns blocks intersects with given sphere (world space)

Inherited from IMyCubeGrid
GetChildren(List, Func<IMyEntity, bool>) Gets children of entity. Child - entity, who's Parent is this entity

Inherited from IMyEntity
GetClosestCorner(Vector3I, Vector3) Gets position of closest cell corner

Inherited from IMyCubeGrid
GetCubeBlock(Vector3I) Get cube block at given position

Inherited from IMyCubeGrid
GetCubeBlock(Vector3I) Get cube block at given position

Inherited from IMyCubeGrid
GetDiffuseColor() Gets render diffuse color

Inherited from IMyEntity
GetDistanceBetweenCameraAndBoundingSphere() Distance from camera to bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere. (in meters)

Inherited from IMyEntity
GetDistanceBetweenCameraAndBoundingSphere() Inherited from MyEntity
GetDistanceBetweenCameraAndPosition() Distance from camera to position of entity.

Inherited from IMyEntity
GetDistanceBetweenCameraAndPosition() Inherited from MyEntity
GetDistanceBetweenPlayerPositionAndBoundingSphere() Inherited from MyEntity
GetFatBlocks() Inherited from IMyCubeGrid
GetFriendlyName() Not used. Actually not a friendly name

Inherited from IMyEntity
GetFriendlyName() Inherited from MyEntity
GetGridGroup(GridLinkTypeEnum) Gets grid group of grids connected by provided link type

Inherited from IMyCubeGrid
GetHudParams(bool) Inherited from MyEntity
GetIntersectionWithAABB(ref BoundingBoxD) Return true if object intersects specified bounding box.

Inherited from IMyEntity
GetIntersectionWithAABB(ref BoundingBoxD) Inherited from MyEntity
GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags) Get intersection of model with provided line

Inherited from IMyEntity
GetIntersectionWithLine(ref LineD, out Vector3D?, bool, IntersectionFlags) Inherited from MyEntity
GetIntersectionWithLine(ref LineD, out MyIntersectionResultLineTriangleEx?, IntersectionFlags) Inherited from MyEntity
GetIntersectionWithLineAndBoundingSphere(ref LineD, float) Calculates intersection of line with any bounding sphere in this model instance. Center of the bounding sphere will be returned. It takes boundingSphereRadiusMultiplier argument which serves for extending the influence (radius) for interaction with line.

Inherited from IMyEntity
GetIntersectionWithLineAndBoundingSphere(ref LineD, float) Inherited from MyEntity
GetIntersectionWithSphere(ref BoundingSphereD) Return true if object intersects specified sphere.

Inherited from IMyEntity
GetIntersectionWithSphere(ref BoundingSphereD) Inherited from MyEntity
GetInventory() Simply get the MyInventoryBase component stored in this entity.

Inherited from IMyEntity
GetInventory(int) Search for inventory component with maching index.

Inherited from IMyEntity
GetInventory() Simply get the MyInventoryBase component stored in this entity.

Inherited from IMyEntity
GetInventory(int) Search for inventory component with matching index.

Inherited from IMyEntity
GetInventoryBase(int) Search for inventory component with maching index.

Inherited from MyEntity
GetInventoryBase() Simply get the MyInventoryBase component stored in this entity.

Inherited from MyEntity
GetLargestDistanceBetweenCameraAndBoundingSphere() Largest distance from camera to bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere. It's actually distance between camera and opposite side of the sphere

Inherited from IMyEntity
GetLargestDistanceBetweenCameraAndBoundingSphere() Inherited from MyEntity
GetLineIntersectionExactAll(ref LineD, out double, out IMySlimBlock) Returns point of intersection with line

Inherited from IMyCubeGrid
GetLineIntersectionExactGrid(ref LineD, ref Vector3I, ref double) Same as GetLineIntersectionExactAll just without intersected block

Inherited from IMyCubeGrid
GetMaxThrustInDirection(Direction) Inherited from IMyCubeGrid
GetObjectBuilder(bool) Returns object builder - object representing block state, and allows restore it. Used in game save, or syncing over network.

Inherited from IMyEntity
GetObjectBuilder(bool) Gets object builder from object.

Inherited from MyEntity
GetPosition() Gets position in world coordinates

Inherited from IMyEntity
GetSmallestDistanceBetweenCameraAndBoundingSphere() Smallest distance between camera and bounding sphere of this phys object. Result is always positive, even if camera is inside the sphere.

Inherited from IMyEntity
GetSmallestDistanceBetweenCameraAndBoundingSphere() Inherited from MyEntity
GetSubpart(string) Gets subpart by subpart name

Inherited from IMyEntity
GetSubpart(string) Inherited from MyEntity
GetTopMostParent(Type) Gets top most Parent of specified type. Top most is entity that doesn't have parent (of specified type)

Inherited from IMyEntity
GetTopMostParent(Type) Return top most parent of this entity

Inherited from MyEntity
GetTrianglesIntersectingSphere(ref BoundingSphere, Vector3?, float?, List<MyTriangle_Vertex_Normals>, int) Return list of triangles intersecting specified sphere. Angle between every triangleVertexes normal vector and 'referenceNormalVector' is calculated, and if more than 'maxAngle', we ignore such triangleVertexes. Triangles are returned in 'retTriangles', and this list must be preallocated! IMPORTANT: Sphere must be in model space, so don't transform it!

Inherited from IMyEntity
GetTrianglesIntersectingSphere(ref BoundingSphere, Vector3?, float?, List<MyTriangle_Vertex_Normals>, int) Inherited from MyEntity
GetViewMatrix() Get normalized, inverted world matrix. Same as GetWorldMatrixNormalizedInv() , WorldMatrixNormalizedInv

Inherited from IMyEntity
GetViewMatrix() Inherited from MyEntity
GetWorldMatrixNormalizedInv() Get normalized, inverted world matrix. Same as GetViewMatrix() , WorldMatrixNormalizedInv

Inherited from IMyEntity
GridIntegerToWorld(Vector3I) Converts grid coordinates to world space

Inherited from IMyCubeGrid
Init(MyObjectBuilder_EntityBase) Inherited from MyEntity
Init(StringBuilder, string, MyEntity, float?, string) Inherited from MyEntity
InitComponents() Inherited from MyEntity
InitComponentsForTesting() Inherited from MyEntity
InvokeDepressurizeEffect(Vector3I, Vector3I) Invokes de-pressurize effect on clients

Inherited from IMyCubeGrid
IsInSameLogicalGroupAs(IMyCubeGrid) Determines whether this grid is in the same logical group as the other, meaning they're connected either mechanically or via blocks like connectors. Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way.

Inherited from IMyCubeGrid
IsRoomAtPositionAirtight(Vector3I) Is room at specified position airtight

Inherited from IMyCubeGrid
IsSameConstructAs(IMyCubeGrid) Determines whether this grid is Mechanical connected to the other. This is any grid connected with rotors or pistons or other mechanical devices, but not things like connectors. This will in most cases constitute your complete construct.

Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way. Also be aware that detaching the heads of pistons and rotors will cause this connection to change.

Inherited from IMyCubeGrid
IsSameConstructAs(IMyCubeGrid) Determines whether this grid is mechanically connected to the other. This is any grid connected with rotors or pistons or other mechanical devices, but not things like connectors. This will in most cases constitute your complete construct.

Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way. Also be aware that detaching the heads of pistons and rotors will cause this connection to change.

Inherited from IMyCubeGrid
IsTouchingAnyNeighbor(Vector3I, Vector3I) Finds out if given area has any neighboring block Checking only cube sides. Example: for vectors Min (0,0,0) and Max (10,10,10), Space (1,1,1)-(9,9,9) won't be checked

Inherited from IMyCubeGrid
IsVisible() Gets or result of function IsVisible() . Function inside check for IsVisible(IMyEntity)

Inherited from IMyEntity
MergeGrid_MergeBlock(IMyCubeGrid, Vector3I) Merge used by merge blocks

Inherited from IMyCubeGrid
OnAddedToScene(object) Adds entity to scene: init updates, render physics

Inherited from IMyEntity
OnAddedToScene(object) Called when [activated] which for entity means that was added to scene.

Inherited from MyEntity
OnRemovedFromScene(object) Remove entity and it's children from scene: stops updates and render, deactivates physics. Usually called when entity deleted

Inherited from IMyEntity
OnRemovedFromScene(object) Inherited from MyEntity
OnReplicationEnded() Inherited from MyEntity
OnReplicationStarted() Inherited from MyEntity
Pin() Inherited from MyEntity
PrepareForDraw() Method is called defacto from Update, preparation fo Draw

Inherited from MyEntity
RaisePhysicsChanged() Inherited from MyEntity
RayCastBlocks(Vector3D, Vector3D) Obtains first block position intersected with line.

Inherited from IMyCubeGrid
RayCastCells(Vector3D, Vector3D, List, Vector3I?, bool) Obtains positions of grid cellsof whether these cells are taken up by blocks or not.

Inherited from IMyCubeGrid
RazeBlock(Vector3I) Remove block at given position

Inherited from IMyCubeGrid
RazeBlocks(ref Vector3I, ref Vector3UByte) Remove blocks in given area

Inherited from IMyCubeGrid
RazeBlocks(List) Remove blocks at given positions

Inherited from IMyCubeGrid
RefreshModels(string, string) Inherited from MyEntity
RemoveBlock(IMySlimBlock, bool) Removes given block

Inherited from IMyCubeGrid
RemoveDebugRenderComponent(Type) Inherited from MyEntity
RemoveDebugRenderComponent(MyDebugRenderComponentBase) Inherited from MyEntity
RemoveDestroyedBlock(IMySlimBlock) Removes block and deformates neighboring blocks

Inherited from IMyCubeGrid
RemoveFromGamePruningStructure() Inherited from MyEntity
ResetControls() Inherited from MyEntity
SerializeControls(BitStream) Inherited from MyEntity
SetColorMaskForSubparts(Vector3) Sets subparts custom col

Inherited from IMyEntity
SetEmissiveParts(string, Color, float) Sets the emissive value of a specific emissive material on entity.

Inherited from IMyEntity
SetEmissiveParts(string, Color, float) Inherited from MyEntity
SetEmissivePartsForSubparts(string, Color, float) Sets the emissive value of a specific emissive material on all entity subparts.

Inherited from IMyEntity
SetEmissivePartsForSubparts(string, Color, float) Inherited from MyEntity
SetFadeOut(bool) Inherited from MyEntity
SetLocalMatrix(Matrix, object) Sets local matrix. When entity, has parent, it's world coordinates are calculated from localMatrix and parent world matrix

Inherited from IMyEntity
SetPosition(Vector3D) Set WorldMatrix's Translation . Moves entity.

Inherited from IMyEntity
SetTextureChangesForSubparts(Dictionary<MyStringId, MyTextureChange>) Sets subparts custom skinning. Copy values from TextureChanges , then change needed keys. You can retrieve values for exact skin with following code:csharp<br />MyDefinitionManager.Static.GetAssetModifierDefinitionForRender(skinId);<br /><br />

Inherited from IMyEntity
SetWorldMatrix(MatrixD, object) Sets world matrix of entity.

Inherited from IMyEntity
Simulate() Inherited from MyEntity
SkinBlocks(Vector3I, Vector3I, Vector3?, string) Sets given skin to range of blocks

Inherited from IMyCubeGrid
Split(List, bool) Split grid

Inherited from IMyCubeGrid
SplitByPlane(PlaneD) Split grid along a plane

Inherited from IMyCubeGrid
Teleport(MatrixD, object, bool) When moving entity over large distances or when entity has children, using this method preferred over SetPosition(Vector3D)

Inherited from IMyEntity
Teleport(MatrixD, object, bool) Inherited from MyEntity
ToString() Inherited from MyEntity
TryGetDebugRenderComponent(out T) Inherited from MyEntity
TryGetSubpart(string, out MyEntitySubpart) Gets subpart by subpart name

Inherited from IMyEntity
TryGetSubpart(string, out MyEntitySubpart) Inherited from MyEntity
Unpin() Inherited from MyEntity
UpdateAfterSimulation() Inherited from MyEntity
UpdateAfterSimulation10() Inherited from MyEntity
UpdateAfterSimulation100() Inherited from MyEntity
UpdateAfterSimulationParallel() Inherited from IMyParallelUpdateable
UpdateBeforeSimulation() Inherited from MyEntity
UpdateBeforeSimulation10() Called each 10th frame if registered for update10

Inherited from MyEntity
UpdateBeforeSimulation100() Called each 100th frame if registered for update100

Inherited from MyEntity
UpdateBeforeSimulationParallel() Inherited from IMyParallelUpdateable
UpdateBlockNeighbours(IMySlimBlock) Refreshes block neighbors (checks connections)

Inherited from IMyCubeGrid
UpdateGamePruningStructure() Update position of entity in MyGamePruningStructure. Calls:csharp<br />MyGamePruningStructure.Move(this)<br /><br />

Inherited from IMyEntity
UpdateGamePruningStructure() Inherited from MyEntity
UpdateOnceBeforeFrame() Inherited from MyEntity
UpdateOwnership(long, bool) Called when functional block lost or gained owner. Triggers, grid ownership recalculation

Inherited from IMyCubeGrid
UpdateSoundContactPoint(long, Vector3, Vector3, Vector3, float) Inherited from MyEntity
UpdatingStopped() Inherited from MyEntity
WillRemoveBlockSplitGrid(IMySlimBlock) Checks if removing a block will cause the grid to split

Inherited from IMyCubeGrid
WorldToGridInteger(Vector3D) Converts world coordinates to grid space cell coordinates

Inherited from IMyCubeGrid
AddToGamePruningStructure() Obsolete: Only used during Sandbox removal.

Inherited from IMyEntity
OnConvertToDynamic() Obsolete: Use IMyCubeGrid.Static instead.

Converts station to ship

Inherited from IMyCubeGrid
RemoveFromGamePruningStructure() Obsolete: Only used during Sandbox removal.

Inherited from IMyEntity
SetTextureChangesForSubparts(Dictionary<string, MyTextureChange>) Obsolete

This calling is obsolete, use another version.

Inherited from IMyEntity

Inheritance: MyEntity

Implements: