IPopulationFolder
An interface in Root.Township, Alta.Populations.
A saved area that holds one population: its size, density and spawn point picker. BasicPopulationFolder is the main implementation.
- Listed in World generation
- Derived types
BasicPopulationFolder,PopulationPath
Properties
| Member | What it is |
|---|---|
float AccumulatedTime { get; set; } | Seconds of growth time carried over when the last growth check spawned nothing. Reset to 0 once something spawns. Saved. |
PopulationSetup Definition { get; } | The population setup this folder spawns. |
float DensityMultiplier { get; } | Multiplies the population cap for this area. |
NetworkEntity Entity { get; } | The folder's network entity. Population items use it as their chunking parent. |
IPopulationManager Manager { get; } | The population manager that owns the folder. |
IPointNormalEvaluator PointEvaluator { get; } | Picks spawn points (with surface normals) inside the area. |
BasicPopulation Population { get; } | The live population for this folder. |
float SquareMeters { get; } | Area size. The cap is max population per square meter times this times DensityMultiplier. |
Used in
Members of other types that take, return or hold a IPopulationFolder: