User Tools

Site Tools


preview:api:map_density_spawn_info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
preview:api:map_density_spawn_info [2019/10/04 17:55] – external edit 127.0.0.1preview:api:map_density_spawn_info [2019/10/04 17:58] – [Density] polymorphgames
Line 9: Line 9:
  
 ==== DensityMap ==== ==== DensityMap ====
-A grayscale texture that will be used to generate the trees*. A white (or gray) pixel shows where a tree* will be spawned, a gray pixel will affect the scale of the tree* and nothing will be spawned at a black pixel.+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.
   * **Type**: ''[[preview:api:texture|TEXTURE]]''   * **Type**: ''[[preview:api:texture|TEXTURE]]''
   * **Expected**: ''Asset ID''   * **Expected**: ''Asset ID''
Line 16: Line 16:
  
 ==== Density ==== ==== Density ====
-The distance between trees*. Value can not be lower than 3.+The distance between objects. Value can not be lower than 3.
   * **Type**: ''Float''   * **Type**: ''Float''
   * **Default value**: ''1.f''   * **Default value**: ''1.f''
preview/api/map_density_spawn_info.txt · Last modified: 2023/12/12 12:16 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki