Click or drag to resize
IMyStorageReadRange Method

[This is preliminary documentation and is subject to change.]

Reads range of content and/or materials from specified LOD. If you want to write data back later, you must read LOD0 as that is the only writable one.

Namespace: VRage.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void ReadRange(
	MyStorageData target,
	MyStorageDataTypeFlags dataToRead,
	int lodIndex,
	Vector3I lodVoxelRangeMin,
	Vector3I lodVoxelRangeMax
)

Parameters

target
Type: VRage.VoxelsMyStorageData

[Missing <param name="target"/> documentation for "M:VRage.ModAPI.IMyStorage.ReadRange(VRage.Voxels.MyStorageData,VRage.Voxels.MyStorageDataTypeFlags,System.Int32,VRageMath.Vector3I,VRageMath.Vector3I)"]

dataToRead
Type: MyStorageDataTypeFlags

[Missing <param name="dataToRead"/> documentation for "M:VRage.ModAPI.IMyStorage.ReadRange(VRage.Voxels.MyStorageData,VRage.Voxels.MyStorageDataTypeFlags,System.Int32,VRageMath.Vector3I,VRageMath.Vector3I)"]

lodIndex
Type: SystemInt32

[Missing <param name="lodIndex"/> documentation for "M:VRage.ModAPI.IMyStorage.ReadRange(VRage.Voxels.MyStorageData,VRage.Voxels.MyStorageDataTypeFlags,System.Int32,VRageMath.Vector3I,VRageMath.Vector3I)"]

lodVoxelRangeMin
Type: Vector3I
Inclusive.
lodVoxelRangeMax
Type: Vector3I
Inclusive.
See Also