Space Engineers
|
Public Member Functions | |
VoxelChunk (Vector3I coords) | |
unsafe void | UpdateLodData (int lod) |
MyStorageData | MakeData () |
void | ReadLod (MyStorageData target, MyStorageDataTypeFlags dataTypes, ref Vector3I targetOffset, int lodIndex, ref Vector3I min, ref Vector3I max) |
void | Write (MyStorageData source, MyStorageDataTypeFlags dataTypes, ref Vector3I targetOffset, ref Vector3I min, ref Vector3I max) |
Public Attributes | |
const int | SizeBits = 3 |
const int | Size = 1 << SizeBits |
const int | Volume = Size * Size * Size |
readonly Vector3I | Coords |
byte[] | Material |
byte[] | Content |
MyStorageDataTypeFlags | Dirty |
MyStorageDataTypeFlags | Cached |
int | HitCount |
FastResourceLock | Lock = new FastResourceLock() |
Static Public Attributes | |
static readonly int | TotalVolume |
static readonly Vector3I | SizeVector = new Vector3I(Size) |
static readonly Vector3I | MaxVector = new Vector3I(Size - 1) |
Properties | |
byte | MaxLod [get, set] |
Definition at line 15 of file MyStorageBase.Cache.cs.
|
inline |
Definition at line 53 of file MyStorageBase.Cache.cs.
|
inline |
Definition at line 127 of file MyStorageBase.Cache.cs.
|
inline |
Definition at line 134 of file MyStorageBase.Cache.cs.
|
inline |
Definition at line 61 of file MyStorageBase.Cache.cs.
|
inline |
Definition at line 201 of file MyStorageBase.Cache.cs.
MyStorageDataTypeFlags Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Cached |
Definition at line 45 of file MyStorageBase.Cache.cs.
byte [] Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Content |
Definition at line 41 of file MyStorageBase.Cache.cs.
readonly Vector3I Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Coords |
Definition at line 21 of file MyStorageBase.Cache.cs.
MyStorageDataTypeFlags Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Dirty |
Definition at line 43 of file MyStorageBase.Cache.cs.
int Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.HitCount |
Definition at line 47 of file MyStorageBase.Cache.cs.
FastResourceLock Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Lock = new FastResourceLock() |
Definition at line 51 of file MyStorageBase.Cache.cs.
byte [] Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Material |
Definition at line 40 of file MyStorageBase.Cache.cs.
|
static |
Definition at line 38 of file MyStorageBase.Cache.cs.
const int Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.Size = 1 << SizeBits |
Definition at line 18 of file MyStorageBase.Cache.cs.
const int Sandbox.Engine.Voxels.MyStorageBase.VoxelChunk.SizeBits = 3 |
Definition at line 17 of file MyStorageBase.Cache.cs.
|
static |
Definition at line 36 of file MyStorageBase.Cache.cs.
|
static |
Definition at line 19 of file MyStorageBase.Cache.cs.
|
getset |
Definition at line 23 of file MyStorageBase.Cache.cs.