Space Engineers
Classes | Public Member Functions | Static Public Attributes | Properties | List of all members
Sandbox.Game.Entities.Cube.MyCubeGridRenderData Class Reference

Public Member Functions

 MyCubeGridRenderData (MyRenderComponentCubeGrid grid)
 
void AddCubePart (MyCubePart part)
 
void RemoveCubePart (MyCubePart part)
 
void AddEdgeInfo (ref Vector3 point0, ref Vector3 point1, ref Vector3 normal0, ref Vector3 normal1, Color color, MySlimBlock owner)
 
void RemoveEdgeInfo (Vector3 point0, Vector3 point1, MySlimBlock owner)
 
void RebuildDirtyCells (RenderFlags renderFlags)
 
void SetBasePositionHint (Vector3 basePos)
 Set base position, usually min of bounding box More...
 
void AddDecal (Vector3I position, MyCubeGridHitInfo gridHitInfo, uint decalId)
 
void RemoveDecals (Vector3I position)
 

Static Public Attributes

static int SplitCellCubeCount = 30
 Cell cube count per axis (cell is 30x30x30) More...
 

Properties

Dictionary< Vector3I, MyCubeGridRenderCellCells [get]
 

Detailed Description

Definition at line 17 of file MyCubeGridRenderData.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.Cube.MyCubeGridRenderData.MyCubeGridRenderData ( MyRenderComponentCubeGrid  grid)
inline

Definition at line 36 of file MyCubeGridRenderData.cs.

Member Function Documentation

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.AddCubePart ( MyCubePart  part)
inline

Definition at line 40 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.AddDecal ( Vector3I  position,
MyCubeGridHitInfo  gridHitInfo,
uint  decalId 
)
inline

Definition at line 128 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.AddEdgeInfo ( ref Vector3  point0,
ref Vector3  point1,
ref Vector3  normal0,
ref Vector3  normal1,
Color  color,
MySlimBlock  owner 
)
inline

Definition at line 68 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.RebuildDirtyCells ( RenderFlags  renderFlags)
inline

Definition at line 89 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.RemoveCubePart ( MyCubePart  part)
inline

Definition at line 50 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.RemoveDecals ( Vector3I  position)
inline

Definition at line 159 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.RemoveEdgeInfo ( Vector3  point0,
Vector3  point1,
MySlimBlock  owner 
)
inline

Definition at line 80 of file MyCubeGridRenderData.cs.

void Sandbox.Game.Entities.Cube.MyCubeGridRenderData.SetBasePositionHint ( Vector3  basePos)
inline

Set base position, usually min of bounding box

Definition at line 105 of file MyCubeGridRenderData.cs.

Member Data Documentation

int Sandbox.Game.Entities.Cube.MyCubeGridRenderData.SplitCellCubeCount = 30
static

Cell cube count per axis (cell is 30x30x30)

Definition at line 22 of file MyCubeGridRenderData.cs.

Property Documentation

Dictionary<Vector3I, MyCubeGridRenderCell> Sandbox.Game.Entities.Cube.MyCubeGridRenderData.Cells
get

Definition at line 34 of file MyCubeGridRenderData.cs.


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