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

Public Member Functions

unsafe MySparseOctree (int height, MyOctreeNode.FilterFunction nodeFilter, TLeafData defaultContent=default(TLeafData))
 
void Build< TDataEnum > (TDataEnum data)
 
unsafe void Build (TLeafData singleValue)
 
void ReplaceValues (Dictionary< TLeafData, TLeafData > oldToNewValueMap)
 

Static Public Member Functions

static unsafe void ReplaceValues< TKey > (Dictionary< TKey, MyOctreeNode > nodeCollection, Dictionary< TLeafData, TLeafData > oldToNewValueMap)
 

Properties

int TreeWidth [get]
 
bool IsAllSame [get]
 
int SerializedSize [get]
 

Detailed Description

Definition at line 15 of file MySparseOctree.cs.

Constructor & Destructor Documentation

unsafe Sandbox.Engine.Voxels.MySparseOctree.MySparseOctree ( int  height,
MyOctreeNode.FilterFunction  nodeFilter,
TLeafData  defaultContent = default(TLeafData) 
)
inline

Definition at line 38 of file MySparseOctree.cs.

Member Function Documentation

unsafe void Sandbox.Engine.Voxels.MySparseOctree.Build ( TLeafData  singleValue)
inline

Definition at line 117 of file MySparseOctree.cs.

void Sandbox.Engine.Voxels.MySparseOctree.Build< TDataEnum > ( TDataEnum  data)
inline
Type Constraints
TDataEnum :struct 
TDataEnum :IEnumerator<TLeafData> 

Definition at line 56 of file MySparseOctree.cs.

void Sandbox.Engine.Voxels.MySparseOctree.ReplaceValues ( Dictionary< TLeafData, TLeafData oldToNewValueMap)
inline

Definition at line 433 of file MySparseOctree.cs.

static unsafe void Sandbox.Engine.Voxels.MySparseOctree.ReplaceValues< TKey > ( Dictionary< TKey, MyOctreeNode nodeCollection,
Dictionary< TLeafData, TLeafData oldToNewValueMap 
)
inlinestatic

Definition at line 438 of file MySparseOctree.cs.

Property Documentation

bool Sandbox.Engine.Voxels.MySparseOctree.IsAllSame
get

Definition at line 30 of file MySparseOctree.cs.

int Sandbox.Engine.Voxels.MySparseOctree.SerializedSize
get

Definition at line 390 of file MySparseOctree.cs.

int Sandbox.Engine.Voxels.MySparseOctree.TreeWidth
get

Definition at line 25 of file MySparseOctree.cs.


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