Space Engineers
Classes | Public Member Functions | Public Attributes | List of all members
Sandbox.Game.Entities.Cube.MyCubeBlockCollector Class Reference
Inheritance diagram for Sandbox.Game.Entities.Cube.MyCubeBlockCollector:

Classes

struct  ShapeInfo
 

Public Member Functions

void Dispose ()
 
void Clear ()
 
void Collect (MyCubeGrid grid, MyVoxelSegmentation segmenter, MyVoxelSegmentationType segmentationType, IDictionary< Vector3I, HkMassElement > massResults)
 
void CollectArea (MyCubeGrid grid, HashSet< Vector3I > dirtyBlocks, MyVoxelSegmentation segmenter, MyVoxelSegmentationType segmentationType, IDictionary< Vector3I, HkMassElement > massResults)
 Intended for quite small refreshes (few blocks). Collect is faster for large refresh. Removes also dirty mass elements. More...
 
void CollectMassElements (MyCubeGrid grid, IDictionary< Vector3I, HkMassElement > massResults)
 

Public Attributes

const bool SHRINK_CONVEX_SHAPE = false
 
const float BOX_SHRINK = 0.0f
 
List< ShapeInfoShapeInfos = new List<ShapeInfo>()
 
List< HkShape > Shapes = new List<HkShape>()
 

Detailed Description

Definition at line 24 of file MyCubeBlockCollector.cs.

Member Function Documentation

void Sandbox.Game.Entities.Cube.MyCubeBlockCollector.Clear ( )
inline

Definition at line 59 of file MyCubeBlockCollector.cs.

void Sandbox.Game.Entities.Cube.MyCubeBlockCollector.Collect ( MyCubeGrid  grid,
MyVoxelSegmentation  segmenter,
MyVoxelSegmentationType  segmentationType,
IDictionary< Vector3I, HkMassElement >  massResults 
)
inline

Definition at line 102 of file MyCubeBlockCollector.cs.

void Sandbox.Game.Entities.Cube.MyCubeBlockCollector.CollectArea ( MyCubeGrid  grid,
HashSet< Vector3I dirtyBlocks,
MyVoxelSegmentation  segmenter,
MyVoxelSegmentationType  segmentationType,
IDictionary< Vector3I, HkMassElement >  massResults 
)
inline

Intended for quite small refreshes (few blocks). Collect is faster for large refresh. Removes also dirty mass elements.

Definition at line 130 of file MyCubeBlockCollector.cs.

void Sandbox.Game.Entities.Cube.MyCubeBlockCollector.CollectMassElements ( MyCubeGrid  grid,
IDictionary< Vector3I, HkMassElement >  massResults 
)
inline

Definition at line 180 of file MyCubeBlockCollector.cs.

void Sandbox.Game.Entities.Cube.MyCubeBlockCollector.Dispose ( )
inline

Definition at line 54 of file MyCubeBlockCollector.cs.

Member Data Documentation

const float Sandbox.Game.Entities.Cube.MyCubeBlockCollector.BOX_SHRINK = 0.0f

Definition at line 35 of file MyCubeBlockCollector.cs.

List<ShapeInfo> Sandbox.Game.Entities.Cube.MyCubeBlockCollector.ShapeInfos = new List<ShapeInfo>()

Definition at line 42 of file MyCubeBlockCollector.cs.

List<HkShape> Sandbox.Game.Entities.Cube.MyCubeBlockCollector.Shapes = new List<HkShape>()

Definition at line 43 of file MyCubeBlockCollector.cs.

const bool Sandbox.Game.Entities.Cube.MyCubeBlockCollector.SHRINK_CONVEX_SHAPE = false

Definition at line 34 of file MyCubeBlockCollector.cs.


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