VoxelToolMultipassGenerator
Provided to edit voxels in the context of multipass terrain generation.
Provided to edit voxels in the context of multipass terrain generation.
This tool allows to edit voxels within a 3D box, centered on a specific area corresponding to the current chunk or column to generate. Depending on context, it is also possible to edit voxels some distance away from the main area. The difference between "main" and "total" areas, is that the "main" area is where you should generate stuff, while the "total area" is only available in case what you generate needs to overlap outside of the main area.
Instances of this class are temporary and not thread-safe. They must never be re-used or stored in a member variable.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods4
GetEditableAreaMaxVector3I
public Vector3I GetEditableAreaMax();Gets the upper corner of the total editable area, in voxels, exclusive.
Vector3IGetEditableAreaMinVector3I
public Vector3I GetEditableAreaMin();Gets the lower corner of the total editable area, in voxels.
Vector3IGetMainAreaMaxVector3I
public Vector3I GetMainAreaMax();Gets the upper corner of the main editable area, in voxels, exclusive.
Vector3IGetMainAreaMinVector3I
public Vector3I GetMainAreaMin();Gets the lower corner of the main editable area, in voxels.
Vector3I