godot_voxel/doc/source/api/VoxelToolTerrain.md
2021-05-31 17:23:29 +01: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 May 31, 2021