api:map_density_prefab_config
Table of Contents
MAP_DENSITY_PREFAB_CONFIG
Category: Data
Properties
PrefabList
List of prefabs that will be spawned with these settings.
- Expected:
list of asset IDs
RandomWeight
The random weight of these settings. Any number over zero is accepted, what is important is the difference between all weights. Any Setting with a random weight lower or equal to zero will be ignored.
- Type:
float
- Expected:
float value
- Default value:
1.f
OffsetSizeRange
Each prefab is spawned in a grid then slightly and randomly moved. This value changes how strong that offset can be.
- Type:
RANDOM_FLOAT_RANGE
- Expected:
RANDOM_FLOAT_RANGE value
OrientationRange
The orientation of the spawned prefab will be between Min and Max.
- Type:
RANDOM_ORIENTATION_RANGE
- Expected:
RANDOM_ORIENTATION_RANGE value
ScaleRange
The scale of the spawned prefab will be between Min and Max.
- Type:
RANDOM_FLOAT_RANGE
- Expected:
RANDOM_FLOAT_RANGE value
ColorRange
The color of the spawned prefab will be between Min and Max.
- Type:
RANDOM_COLOR_RANGE
- Expected:
RANDOM_COLOR_RANGE value
api/map_density_prefab_config.txt · Last modified: 2024/02/06 13:53 by 127.0.0.1