|
Space Engineers
|
Grid interface More...
Public Member Functions | |
| bool | CubeExists (VRageMath.Vector3I pos) |
| Returns true if there is any block occupying given position More... | |
| IMySlimBlock | GetCubeBlock (VRageMath.Vector3I pos) |
| Get cube block at given position More... | |
| VRageMath.Vector3D | GridIntegerToWorld (VRageMath.Vector3I gridCoords) |
| Converts grid coordinates to world space More... | |
| VRageMath.Vector3I | WorldToGridInteger (VRageMath.Vector3D coords) |
| Converts world coordinates to grid space cell coordinates More... | |
Public Member Functions inherited from VRage.Game.ModAPI.Ingame.IMyEntity | |
| VRageMath.Vector3D | GetPosition () |
Properties | |
| float | GridSize [get] |
| Grid size in meters More... | |
| MyCubeSize | GridSizeEnum [get] |
| Grid size enum More... | |
| bool | IsStatic [get] |
| Station = static More... | |
| VRageMath.Vector3I | Max [get] |
| Maximum coordinates of blocks in grid More... | |
| VRageMath.Vector3I | Min [get] |
| Minimum coordinates of blocks in grid More... | |
Properties inherited from VRage.Game.ModAPI.Ingame.IMyEntity | |
| MyEntityComponentContainer | Components [get] |
| long | EntityId [get] |
| VRageMath.BoundingBoxD | WorldAABB [get] |
| VRageMath.BoundingBoxD | WorldAABBHr [get] |
| VRageMath.MatrixD | WorldMatrix [get] |
| VRageMath.BoundingSphereD | WorldVolume [get] |
| VRageMath.BoundingSphereD | WorldVolumeHr [get] |
Grid interface
Definition at line 9 of file IMyCubeGrid.cs.
| bool VRage.Game.ModAPI.Ingame.IMyCubeGrid.CubeExists | ( | VRageMath.Vector3I | pos | ) |
Returns true if there is any block occupying given position
Implemented in Sandbox.Game.Entities.MyCubeGrid, and VRage.Game.ModAPI.IMyCubeGrid.
| IMySlimBlock VRage.Game.ModAPI.Ingame.IMyCubeGrid.GetCubeBlock | ( | VRageMath.Vector3I | pos | ) |
Get cube block at given position
| pos | Block position |
Implemented in Sandbox.Game.Entities.MyCubeGrid, and VRage.Game.ModAPI.IMyCubeGrid.
| VRageMath.Vector3D VRage.Game.ModAPI.Ingame.IMyCubeGrid.GridIntegerToWorld | ( | VRageMath.Vector3I | gridCoords | ) |
Converts grid coordinates to world space
Implemented in Sandbox.Game.Entities.MyCubeGrid, and VRage.Game.ModAPI.IMyCubeGrid.
| VRageMath.Vector3I VRage.Game.ModAPI.Ingame.IMyCubeGrid.WorldToGridInteger | ( | VRageMath.Vector3D | coords | ) |
Converts world coordinates to grid space cell coordinates
Implemented in VRage.Game.ModAPI.IMyCubeGrid.
|
get |
Grid size in meters
Definition at line 14 of file IMyCubeGrid.cs.
|
get |
Grid size enum
Definition at line 19 of file IMyCubeGrid.cs.
|
get |
Station = static
Definition at line 24 of file IMyCubeGrid.cs.
|
get |
Maximum coordinates of blocks in grid
Definition at line 29 of file IMyCubeGrid.cs.
|
get |
Minimum coordinates of blocks in grid
Definition at line 34 of file IMyCubeGrid.cs.
1.8.8