Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Game.Entities.MyVoxelMaps Class Reference
Inheritance diagram for Sandbox.Game.Entities.MyVoxelMaps:
VRage.Game.ModAPI.IMyVoxelMaps

Public Member Functions

 MyVoxelMaps ()
 
void Clear ()
 
bool Exist (MyVoxelBase voxelMap)
 
void RemoveVoxelMap (MyVoxelBase voxelMap)
 
MyVoxelBase GetOverlappingWithSphere (ref BoundingSphereD sphere)
 
void GetAllOverlappingWithSphere (ref BoundingSphereD sphere, List< MyVoxelBase > voxels)
 
void Add (MyVoxelBase voxelMap)
 
MyVoxelBase GetVoxelMapWhoseBoundingBoxIntersectsBox (ref BoundingBoxD boundingBox, MyVoxelBase ignoreVoxelMap)
 Return reference to voxel map that intersects the box. If not voxel map found, null is returned. More...
 
MyVoxelBase TryGetVoxelMapByNameStart (string name)
 
MyVoxelBase TryGetVoxelMapByName (string name)
 
Dictionary< string, byte[]> GetVoxelMapsArray (bool includeChanged)
 
- Public Member Functions inherited from VRage.Game.ModAPI.IMyVoxelMaps
IMyVoxelBase GetVoxelMapWhoseBoundingBoxIntersectsBox (ref BoundingBoxD boundingBox, IMyVoxelBase ignoreVoxelMap)
 
IMyVoxelMap CreateVoxelMap (string storageName, IMyStorage storage, Vector3D position, long voxelMapId)
 

Properties

DictionaryValuesReader< long, MyVoxelBaseInstances [get]
 
- Properties inherited from VRage.Game.ModAPI.IMyVoxelMaps
int VoxelMaterialCount [get]
 

Detailed Description

Definition at line 13 of file MyVoxelMaps.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.MyVoxelMaps.MyVoxelMaps ( )
inline

Definition at line 18 of file MyVoxelMaps.cs.

Member Function Documentation

void Sandbox.Game.Entities.MyVoxelMaps.Add ( MyVoxelBase  voxelMap)
inline

Definition at line 80 of file MyVoxelMaps.cs.

void Sandbox.Game.Entities.MyVoxelMaps.Clear ( )
inline

Implements VRage.Game.ModAPI.IMyVoxelMaps.

Definition at line 22 of file MyVoxelMaps.cs.

bool Sandbox.Game.Entities.MyVoxelMaps.Exist ( MyVoxelBase  voxelMap)
inline

Definition at line 38 of file MyVoxelMaps.cs.

void Sandbox.Game.Entities.MyVoxelMaps.GetAllOverlappingWithSphere ( ref BoundingSphereD  sphere,
List< MyVoxelBase voxels 
)
inline

Definition at line 75 of file MyVoxelMaps.cs.

MyVoxelBase Sandbox.Game.Entities.MyVoxelMaps.GetOverlappingWithSphere ( ref BoundingSphereD  sphere)
inline

Implements VRage.Game.ModAPI.IMyVoxelMaps.

Definition at line 59 of file MyVoxelMaps.cs.

Dictionary<string, byte[]> Sandbox.Game.Entities.MyVoxelMaps.GetVoxelMapsArray ( bool  includeChanged)
inline

Definition at line 143 of file MyVoxelMaps.cs.

MyVoxelBase Sandbox.Game.Entities.MyVoxelMaps.GetVoxelMapWhoseBoundingBoxIntersectsBox ( ref BoundingBoxD  boundingBox,
MyVoxelBase  ignoreVoxelMap 
)
inline

Return reference to voxel map that intersects the box. If not voxel map found, null is returned.

Definition at line 104 of file MyVoxelMaps.cs.

void Sandbox.Game.Entities.MyVoxelMaps.RemoveVoxelMap ( MyVoxelBase  voxelMap)
inline

Definition at line 43 of file MyVoxelMaps.cs.

MyVoxelBase Sandbox.Game.Entities.MyVoxelMaps.TryGetVoxelMapByName ( string  name)
inline

Definition at line 132 of file MyVoxelMaps.cs.

MyVoxelBase Sandbox.Game.Entities.MyVoxelMaps.TryGetVoxelMapByNameStart ( string  name)
inline

Definition at line 121 of file MyVoxelMaps.cs.

Property Documentation

DictionaryValuesReader<long, MyVoxelBase> Sandbox.Game.Entities.MyVoxelMaps.Instances
get

Definition at line 34 of file MyVoxelMaps.cs.


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