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
OffsetSize
Each prefab is spawned in a grid then slightly and randomly moved. This value changes how strong that offset can be.
- Type:
PROCEDURAL_FLOAT
- Expected:
PROCEDURAL_FLOAT value
Orientation
The orientation of the spawned prefab will be between Min and Max.
- Type:
PROCEDURAL_ORIENTATION
- Expected:
PROCEDURAL_ORIENTATION value
Scale
The scale of the spawned prefab will be between Min and Max.
- Type:
PROCEDURAL_FLOAT
- Expected:
PROCEDURAL_FLOAT value
Color
The color of the spawned prefab will be between Min and Max.
- Type:
PROCEDURAL_COLOR
- Expected:
PROCEDURAL_COLOR value
api/map_density_prefab_config.txt · Last modified: 2025/06/04 13:52 by 127.0.0.1