3.9 KiB
3.9 KiB
VoxelInstanceGenerator
Inherits: Resource
Decides where to spawn instances on top of a voxel surface.
Description:
Generates the necessry information to spawn instances on top of a voxel surface. This may be used by a VoxelInstancer.
Note: to generate voxels, see VoxelGenerator.
Properties:
Type | Name | Default |
---|---|---|
float |
density | 0.1 |
int |
emit_mode | 0 |
float |
max_height | 3.40282e+38 |
float |
max_scale | 1.0 |
float |
max_slope_degrees | 180.0 |
float |
min_height | 1.17549e-38 |
float |
min_scale | 1.0 |
float |
min_slope_degrees | 0.0 |
FastNoiseLite |
noise | |
int |
noise_dimension | 1 |
float |
noise_on_scale | 0.0 |
float |
offset_along_normal | 0.0 |
bool |
random_vertical_flip | false |
int |
scale_distribution | 1 |
float |
vertical_alignment | 1.0 |
Enumerations:
enum EmitMode:
- EMIT_FROM_VERTICES = 0
- EMIT_FROM_FACES = 1
Property Descriptions
-
float density = 0.1
-
int emit_mode = 0
-
float max_height = 3.40282e+38
-
float max_scale = 1.0
-
float max_slope_degrees = 180.0
-
float min_height = 1.17549e-38
-
float min_scale = 1.0
-
float min_slope_degrees = 0.0
-
FastNoiseLite noise
-
int noise_dimension = 1
-
float noise_on_scale = 0.0
-
float offset_along_normal = 0.0
-
bool random_vertical_flip = false
-
int scale_distribution = 1
-
float vertical_alignment = 1.0
Generated on Apr 10, 2021