IMyCubeGrid Interface |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.Game.ModAPI.IMyCubeGrid"]
Namespace: VRage.Game.ModAPI
public interface IMyCubeGrid : IMyCubeGrid, IMyEntity
The IMyCubeGrid type exposes the following members.
Name | Description | |
---|---|---|
![]() | BigOwners |
List of players with majority of blocks on grid
|
![]() | CastShadows | (Inherited from IMyEntity.) |
![]() | Closed | (Inherited from IMyEntity.) |
![]() | Components | (Inherited from IMyEntity.) |
![]() | DebugAsyncLoading | (Inherited from IMyEntity.) |
![]() | DisplayName | (Inherited from IMyEntity.) |
![]() | EntityId | (Inherited from IMyEntity.) |
![]() | FastCastShadowResolve | (Inherited from IMyEntity.) |
![]() | Flags | (Inherited from IMyEntity.) |
![]() | GameLogic | (Inherited from IMyEntity.) |
![]() | GridSize |
Grid size in meters
|
![]() | GridSizeEnum |
Grid size enumeration
|
![]() | Hierarchy | (Inherited from IMyEntity.) |
![]() | InScene | (Inherited from IMyEntity.) |
![]() | InvalidateOnMove | (Inherited from IMyEntity.) |
![]() | IsCCDForProjectiles | (Inherited from IMyEntity.) |
![]() | IsStatic |
Station = static
|
![]() | IsVolumetric | (Inherited from IMyEntity.) |
![]() | LocalAABB | (Inherited from IMyEntity.) |
![]() | LocalAABBHr | (Inherited from IMyEntity.) |
![]() | LocalMatrix | (Inherited from IMyEntity.) |
![]() | LocalVolume | (Inherited from IMyEntity.) |
![]() | LocalVolumeOffset | (Inherited from IMyEntity.) |
![]() | LocationForHudMarker | (Inherited from IMyEntity.) |
![]() | MarkedForClose | (Inherited from IMyEntity.) |
![]() | Max |
Maximum coordinates of blocks in grid
|
![]() | MaxGlassDistSq | (Inherited from IMyEntity.) |
![]() | Min |
Minimum coordinates of blocks in grid
|
![]() | Name | (Inherited from IMyEntity.) |
![]() | NearFlag | (Inherited from IMyEntity.) |
![]() | NeedsDraw | (Inherited from IMyEntity.) |
![]() | NeedsDrawFromParent | (Inherited from IMyEntity.) |
![]() | NeedsResolveCastShadow | (Inherited from IMyEntity.) |
![]() | NeedsUpdate | (Inherited from IMyEntity.) |
![]() | Parent | (Inherited from IMyEntity.) |
![]() | PersistentFlags | (Inherited from IMyEntity.) |
![]() | Physics | (Inherited from IMyEntity.) |
![]() | PositionComp | (Inherited from IMyEntity.) |
![]() | Render | (Inherited from IMyEntity.) |
![]() | Save | (Inherited from IMyEntity.) |
![]() | ShadowBoxLod | (Inherited from IMyEntity.) |
![]() | SkipIfTooSmall | (Inherited from IMyEntity.) |
![]() | SmallOwners |
List of players with any blocks on grid
|
![]() | SyncObject | (Inherited from IMyEntity.) |
![]() | Transparent | (Inherited from IMyEntity.) |
![]() | Visible | (Inherited from IMyEntity.) |
![]() | WorldAABB | (Inherited from IMyEntity.) |
![]() | WorldAABBHr | (Inherited from IMyEntity.) |
![]() | WorldMatrix | (Inherited from IMyEntity.) |
![]() | WorldMatrixInvScaled | (Inherited from IMyEntity.) |
![]() | WorldMatrixNormalizedInv | (Inherited from IMyEntity.) |
![]() | WorldVolume | (Inherited from IMyEntity.) |
![]() | WorldVolumeHr | (Inherited from IMyEntity.) |
Name | Description | |
---|---|---|
![]() | AddBlock |
Add a cubeblock to the grid
|
![]() | AddToGamePruningStructure | (Inherited from IMyEntity.) |
![]() | ApplyDestructionDeformation |
Applies random deformation to given block
|
![]() | BeforeSave | (Inherited from IMyEntity.) |
![]() | CalculateMergeTransform |
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
|
![]() | CanMergeCubes |
Determines if merge between grids is possible with given offset
|
![]() | ChangeGridOwnership |
Changes owner of all blocks on grid
Call only on server!
|
![]() | ClearSymmetries |
Clears symmetry planes
|
![]() | Close | (Inherited from IMyEntity.) |
![]() | ColorBlocks |
Sets given color mask to range of blocks
|
![]() | ConvertToDynamic |
Converts station to ship
|
![]() | CubeExists |
Returns true if there is any block occupying given position
|
![]() | DebugDraw | (Inherited from IMyEntity.) |
![]() | DebugDrawInvalidTriangles | (Inherited from IMyEntity.) |
![]() | Delete | (Inherited from IMyEntity.) |
![]() | DoOverlapSphereTest | (Inherited from IMyEntity.) |
![]() | EnableColorMaskForSubparts | (Inherited from IMyEntity.) |
![]() | FixTargetCube |
Clamps fractional grid position to nearest cell (prefers neighboring occupied cell before empty)
|
![]() | GetBlocks |
Returns blocks in grid
|
![]() | GetBlocksInsideSphere |
Returns blocks inside given sphere (world space)
|
![]() | GetChildren | (Inherited from IMyEntity.) |
![]() | GetClosestCorner |
Gets position of closest cell corner
|
![]() | GetCubeBlock |
Get cube block at given position
|
![]() | GetDiffuseColor | (Inherited from IMyEntity.) |
![]() | GetDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) |
![]() | GetDistanceBetweenCameraAndPosition | (Inherited from IMyEntity.) |
![]() | GetFriendlyName | (Inherited from IMyEntity.) |
![]() | GetIntersectionWithLineAndBoundingSphere | (Inherited from IMyEntity.) |
![]() | GetIntersectionWithSphere | (Inherited from IMyEntity.) |
![]() | GetLargestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) |
![]() | GetLineIntersectionExactAll |
Returns point of intersection with line
|
![]() | GetLineIntersectionExactGrid |
Same as GetLineIntersectionExactAll just without intersected block
|
![]() | GetObjectBuilder | (Inherited from IMyEntity.) |
![]() | GetPosition | (Inherited from IMyEntity.) |
![]() | GetSmallestDistanceBetweenCameraAndBoundingSphere | (Inherited from IMyEntity.) |
![]() | GetSubpart | (Inherited from IMyEntity.) |
![]() | GetTopMostParent | (Inherited from IMyEntity.) |
![]() | GetTrianglesIntersectingSphere | (Inherited from IMyEntity.) |
![]() | GetViewMatrix | (Inherited from IMyEntity.) |
![]() | GetWorldMatrixNormalizedInv | (Inherited from IMyEntity.) |
![]() | GridIntegerToWorld |
Converts grid coordinates to world space
|
![]() | IsTouchingAnyNeighbor |
Finds out if given area has any neighboring block
|
![]() | IsTrash |
Algorithm used by game to define useless grids to be deleted
|
![]() | IsVisible | (Inherited from IMyEntity.) |
![]() | MergeGrid_MergeBlock |
Merge used by merge blocks
|
![]() | OnAddedToScene | (Inherited from IMyEntity.) |
![]() | OnRemovedFromScene | (Inherited from IMyEntity.) |
![]() | RayCastBlocks |
Returns cell with block intersecting given line
|
![]() | RayCastCells |
Returns list of cells with blocks intersected by line
|
![]() | RazeBlock |
Remove block at given position
|
![]() | RazeBlocks(ListVector3I) |
Remove blocks at given positions
|
![]() | RazeBlocks(Vector3I, Vector3UByte) |
Remove blocks in given area
|
![]() | RemoveBlock |
Removes given block
|
![]() | RemoveDestroyedBlock |
Removes block and deformates neighboring blocks
|
![]() | RemoveFromGamePruningStructure | (Inherited from IMyEntity.) |
![]() | SetColorMaskForSubparts | (Inherited from IMyEntity.) |
![]() | SetEmissiveParts |
Sets the emissive value of a specific emissive material on entity.
(Inherited from IMyEntity.) |
![]() | SetEmissivePartsForSubparts |
Sets the emissive value of a specific emissive material on all entity subparts.
(Inherited from IMyEntity.) |
![]() | SetLocalMatrix | (Inherited from IMyEntity.) |
![]() | SetPosition | (Inherited from IMyEntity.) |
![]() | SetWorldMatrix | (Inherited from IMyEntity.) |
![]() | TryGetSubpart | (Inherited from IMyEntity.) |
![]() | UpdateBlockNeighbours |
Refreshes block neighbors (checks connections)
|
![]() | UpdateGamePruningStructure | (Inherited from IMyEntity.) |
![]() | UpdateOwnership | |
![]() | WillRemoveBlockSplitGrid |
Checks if removing a block will cause the grid to split
|
![]() | WorldToGridInteger(Vector3D) | |
![]() | WorldToGridInteger(Vector3) |
Converts world coordinates to grid space cell coordinates
|
Name | Description | |
---|---|---|
![]() | OnBlockAdded | |
![]() | OnBlockOwnershipChanged | |
![]() | OnBlockRemoved | |
![]() | OnClose | (Inherited from IMyEntity.) |
![]() | OnClosing | (Inherited from IMyEntity.) |
![]() | OnMarkForClose | (Inherited from IMyEntity.) |
![]() | OnPhysicsChanged | (Inherited from IMyEntity.) |