Interface IMyStorageDataProvider
Assembly: VRage.Game.dll
Syntax
public interface IMyStorageDataProvider
Properties
SerializedSize
Declaration
int SerializedSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Close()
Declaration
DebugDraw(ref MatrixD)
Declaration
void DebugDraw(ref MatrixD worldMatrix)
Parameters
Type |
Name |
Description |
MatrixD |
worldMatrix |
|
Intersect(BoundingBoxI, Int32)
Declaration
ContainmentType Intersect(BoundingBoxI box, int lod)
Parameters
Returns
Intersect(ref LineD, out Double, out Double)
Declaration
bool Intersect(ref LineD line, out double startOffset, out double endOffset)
Parameters
Type |
Name |
Description |
LineD |
line |
|
System.Double |
startOffset |
|
System.Double |
endOffset |
|
Returns
Type |
Description |
System.Boolean |
|
PostProcess(VrVoxelMesh, MyStorageDataTypeFlags)
Post-process the mesh generated from the data in this storage.
Declaration
void PostProcess(VrVoxelMesh mesh, MyStorageDataTypeFlags dataTypes)
Parameters
Type |
Name |
Description |
VRage.Voxels.VrVoxelMesh |
mesh |
|
MyStorageDataTypeFlags |
dataTypes |
The types of data requested for the mesh.
|
ReadFrom(Int32, Stream, Int32, ref Boolean)
Declaration
void ReadFrom(int storageVersion, Stream stream, int size, ref bool isOldFormat)
Parameters
Type |
Name |
Description |
System.Int32 |
storageVersion |
|
System.IO.Stream |
stream |
|
System.Int32 |
size |
|
System.Boolean |
isOldFormat |
|
ReadRange(MyStorageData, MyStorageDataTypeFlags, ref Vector3I, Int32, ref Vector3I, ref Vector3I)
Declaration
void ReadRange(MyStorageData target, MyStorageDataTypeFlags dataType, ref Vector3I writeOffset, int lodIndex, ref Vector3I minInLod, ref Vector3I maxInLod)
Parameters
ReadRange(ref MyVoxelDataRequest, Boolean)
Declaration
void ReadRange(ref MyVoxelDataRequest request, bool detectOnly = false)
Parameters
ReindexMaterials(Dictionary<Byte, Byte>)
Declaration
void ReindexMaterials(Dictionary<byte, byte> oldToNewIndexMap)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.Byte, System.Byte> |
oldToNewIndexMap |
|
WriteTo(Stream)
Declaration
void WriteTo(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|