Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.ModAPI.Ingame.IMyCubeGrid Interface Reference

Public Member Functions

void ConvertToDynamic ()
 
bool CubeExists (VRageMath.Vector3I pos)
 
void FixTargetCube (out VRageMath.Vector3I cube, VRageMath.Vector3 fractionalGridPosition)
 
VRageMath.Vector3 GetClosestCorner (VRageMath.Vector3I gridPos, VRageMath.Vector3 position)
 
IMySlimBlock GetCubeBlock (VRageMath.Vector3I pos)
 
VRageMath.Vector3D GridIntegerToWorld (VRageMath.Vector3I gridCoords)
 
VRageMath.Vector3I RayCastBlocks (VRageMath.Vector3D worldStart, VRageMath.Vector3D worldEnd)
 
void RayCastCells (VRageMath.Vector3D worldStart, VRageMath.Vector3D worldEnd, List< VRageMath.Vector3I > outHitPositions, VRageMath.Vector3I?gridSizeInflate=null, bool havokWorld=false)
 
void UpdateOwnership (long ownerId, bool isFunctional)
 
VRageMath.Vector3I WorldToGridInteger (VRageMath.Vector3D coords)
 
void GetBlocks (List< IMySlimBlock > blocks, Func< IMySlimBlock, bool > collect=null)
 
List< IMySlimBlockGetBlocksInsideSphere (ref VRageMath.BoundingSphereD sphere)
 

Properties

List< long > BigOwners [get]
 
List< long > SmallOwners [get]
 
float GridSize [get]
 
Sandbox.Common.ObjectBuilders.MyCubeSize GridSizeEnum [get]
 
bool IsStatic [get]
 
VRageMath.Vector3I Max [get]
 
VRageMath.Vector3I Min [get]
 

Detailed Description

Definition at line 5 of file IMyCubeGrid.cs.

Member Function Documentation

void Sandbox.ModAPI.Ingame.IMyCubeGrid.ConvertToDynamic ( )
bool Sandbox.ModAPI.Ingame.IMyCubeGrid.CubeExists ( VRageMath.Vector3I  pos)
void Sandbox.ModAPI.Ingame.IMyCubeGrid.FixTargetCube ( out VRageMath.Vector3I  cube,
VRageMath.Vector3  fractionalGridPosition 
)
void Sandbox.ModAPI.Ingame.IMyCubeGrid.GetBlocks ( List< IMySlimBlock blocks,
Func< IMySlimBlock, bool >  collect = null 
)
List<IMySlimBlock> Sandbox.ModAPI.Ingame.IMyCubeGrid.GetBlocksInsideSphere ( ref VRageMath.BoundingSphereD  sphere)
VRageMath.Vector3 Sandbox.ModAPI.Ingame.IMyCubeGrid.GetClosestCorner ( VRageMath.Vector3I  gridPos,
VRageMath.Vector3  position 
)
IMySlimBlock Sandbox.ModAPI.Ingame.IMyCubeGrid.GetCubeBlock ( VRageMath.Vector3I  pos)
VRageMath.Vector3D Sandbox.ModAPI.Ingame.IMyCubeGrid.GridIntegerToWorld ( VRageMath.Vector3I  gridCoords)
VRageMath.Vector3I Sandbox.ModAPI.Ingame.IMyCubeGrid.RayCastBlocks ( VRageMath.Vector3D  worldStart,
VRageMath.Vector3D  worldEnd 
)
void Sandbox.ModAPI.Ingame.IMyCubeGrid.RayCastCells ( VRageMath.Vector3D  worldStart,
VRageMath.Vector3D  worldEnd,
List< VRageMath.Vector3I outHitPositions,
VRageMath.Vector3I gridSizeInflate = null,
bool  havokWorld = false 
)
void Sandbox.ModAPI.Ingame.IMyCubeGrid.UpdateOwnership ( long  ownerId,
bool  isFunctional 
)
VRageMath.Vector3I Sandbox.ModAPI.Ingame.IMyCubeGrid.WorldToGridInteger ( VRageMath.Vector3D  coords)

Property Documentation

List<long> Sandbox.ModAPI.Ingame.IMyCubeGrid.BigOwners
get

Definition at line 7 of file IMyCubeGrid.cs.

float Sandbox.ModAPI.Ingame.IMyCubeGrid.GridSize
get

Definition at line 15 of file IMyCubeGrid.cs.

Sandbox.Common.ObjectBuilders.MyCubeSize Sandbox.ModAPI.Ingame.IMyCubeGrid.GridSizeEnum
get

Definition at line 16 of file IMyCubeGrid.cs.

bool Sandbox.ModAPI.Ingame.IMyCubeGrid.IsStatic
get

Definition at line 17 of file IMyCubeGrid.cs.

VRageMath.Vector3I Sandbox.ModAPI.Ingame.IMyCubeGrid.Max
get

Definition at line 18 of file IMyCubeGrid.cs.

VRageMath.Vector3I Sandbox.ModAPI.Ingame.IMyCubeGrid.Min
get

Definition at line 19 of file IMyCubeGrid.cs.

List<long> Sandbox.ModAPI.Ingame.IMyCubeGrid.SmallOwners
get

Definition at line 8 of file IMyCubeGrid.cs.


The documentation for this interface was generated from the following file: