Space Engineers
Classes | Public Member Functions | Properties | List of all members
Sandbox.Engine.Voxels.MyVoxelGeometry Class Reference

Classes

class  CellData
 

Public Member Functions

 MyVoxelGeometry ()
 
void Init (MyStorageBase storage)
 
bool Intersects (ref BoundingSphereD localSphere)
 
bool Intersect (ref Line localLine, out VRage.Game.Models.MyIntersectionResultLineTriangle result, IntersectionFlags flags)
 
bool TryGetMesh (MyCellCoord cell, out bool isEmpty, out MyIsoMesh nonEmptyMesh)
 
void SetMesh (MyCellCoord cell, MyIsoMesh mesh)
 

Properties

Vector3I CellsCount [get]
 

Detailed Description

Definition at line 15 of file MyVoxelGeometry.CellData.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Voxels.MyVoxelGeometry.MyVoxelGeometry ( )
inline

Definition at line 39 of file MyVoxelGeometry.cs.

Member Function Documentation

void Sandbox.Engine.Voxels.MyVoxelGeometry.Init ( MyStorageBase  storage)
inline

Definition at line 44 of file MyVoxelGeometry.cs.

bool Sandbox.Engine.Voxels.MyVoxelGeometry.Intersect ( ref Line  localLine,
out VRage.Game.Models.MyIntersectionResultLineTriangle  result,
IntersectionFlags  flags 
)
inline

Definition at line 128 of file MyVoxelGeometry.cs.

bool Sandbox.Engine.Voxels.MyVoxelGeometry.Intersects ( ref BoundingSphereD  localSphere)
inline

Definition at line 56 of file MyVoxelGeometry.cs.

void Sandbox.Engine.Voxels.MyVoxelGeometry.SetMesh ( MyCellCoord  cell,
MyIsoMesh  mesh 
)
inline

Definition at line 228 of file MyVoxelGeometry.cs.

bool Sandbox.Engine.Voxels.MyVoxelGeometry.TryGetMesh ( MyCellCoord  cell,
out bool  isEmpty,
out MyIsoMesh  nonEmptyMesh 
)
inline

Definition at line 204 of file MyVoxelGeometry.cs.

Property Documentation

Vector3I Sandbox.Engine.Voxels.MyVoxelGeometry.CellsCount
get

Definition at line 35 of file MyVoxelGeometry.cs.


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