ReadVoxels
Returns a certain region of smooth terrain in table format. Both of the returned arrays have an additional Size property, a datatype/Vector3.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
Target region to write to. Must be aligned to the voxel grid. Will throw an error if region is too large. |
||
|
|
Voxel resolution. Must be 4. |
Returns
| Return Type | Summary |
|---|---|
|
Returns raw voxel data as two 3D arrays.
|