godot_voxel/doc/source/api/VoxelToolTerrain.md
2021-02-16 20:54:45 +00:00

2.1 KiB

VoxelToolTerrain

Inherits: VoxelTool

Implementation of VoxelTool optimized for uses on VoxelTerrain.

Methods:

Return Signature
void run_blocky_random_tick ( AABB area, int voxel_count, FuncRef callback, int batch_count=16 ) const

Method Descriptions

Picks random voxels within the specified area and executes a function on them. This only works for terrains using VoxelMesherBlocky. Only voxels where member Voxel.random_tickable is true will be picked.

Generated on Feb 16, 2021