User Tools

Site Tools


api:map_density_spawn_info

This is an old revision of the document!


MAP_DENSITY_SPAWN_INFO

Category: Data

Properties


DensityMap

A grayscale texture that will be used to spawn prefabs. A white (or gray) pixel shows where a prefab will be spawned, a gray pixel will affect the scale of the object and nothing will be spawned at a black pixel.


Density

The distance between objects. Value can be between 0 and 1, with 0 at low density and 1 at high density.

  • Type: Float
  • Default value: 1.f

PrefabConfigList

Multiple settings can be set for different prefabs, each with their own random weight.

api/map_density_spawn_info.1571159992.txt.gz · Last modified: 2019/10/15 13:19 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki