VoxelGeneratorFlat¶
Inherits: VoxelGenerator
Voxel generator producing an infinite flat ground.
Properties:¶
| Type | Name | Default |
|---|---|---|
| ChannelId | channel | CHANNEL_SDF (1) |
| float | height | 0.0 |
| int | voxel_type | 1 |
Property Descriptions¶
ChannelId channel = CHANNEL_SDF (1)¶
Channel that will be used to generate the ground. Use VoxelBuffer.CHANNEL_SDF for smooth terrain, other channels for blocky.
float height = 0.0¶
Altitude of the ground.
int voxel_type = 1¶
If channel is set to any channel other than VoxelBuffer.CHANNEL_SDF, this value will be used to fill ground voxels, while air voxels will be set to 0.
Generated on Jan 26, 2026