User Tools

Site Tools


api:map_density_prefab_config

MAP_DENSITY_PREFAB_CONFIG

Category: Data

Cloneable

Properties


PrefabList

Serialized

List of prefabs that will be spawned with these settings.


RandomWeight

Serialized

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

Serialized

Each prefab is spawned in a grid then slightly and randomly moved. This value changes how strong that offset can be.


Orientation

Serialized

The orientation of the spawned prefab will be between Min and Max.


Scale

Serialized

The scale of the spawned prefab will be between Min and Max.


Color

Serialized

The color of the spawned prefab will be between Min and Max.

api/map_density_prefab_config.txt · Last modified: 2025/06/04 13:52 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki