ReadRange
Summary
public void ReadRange(MyStorageData target, MyStorageDataTypeFlags dataToRead, int lodIndex, Vector3I lodVoxelRangeMin, Vector3I lodVoxelRangeMax, ref MyVoxelRequestFlags requestFlags)
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.
Parameters
- MyStorageData target
- MyStorageDataTypeFlags dataToRead
- int lodIndex
- Vector3I lodVoxelRangeMin
- Vector3I lodVoxelRangeMax
- MyVoxelRequestFlags requestFlags
Summary
public void ReadRange(MyStorageData target, MyStorageDataTypeFlags dataToRead, int lodIndex, Vector3I lodVoxelRangeMin, Vector3I lodVoxelRangeMax)
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.
Parameters
- MyStorageData target
- MyStorageDataTypeFlags dataToRead
- int lodIndex
- Vector3I lodVoxelRangeMin
- Vector3I lodVoxelRangeMax