public readonly record struct FoliageGrowthResultWhat a simulation did, and what refused each seed that did not take.
Remarks
⚠ A refusal per reason, for Consider's reason. "The simulation grew nothing" is the report; "eleven thousand seeds, nine thousand of them shaded out" is a shade tolerance somebody changes. A simulation an author cannot read is one they run twice and abandon.
Fields and properties (12)
public int StepsHow many steps ran.
public int SownHow many seeds the first step scattered.
public int SproutedHow many seeds mature plants dropped over every step after it.
public int PlacedHow many plants were standing at the end.
public int NoSurfaceSeeds with no ground, ground too steep, or the wrong layer under them.
public int BlockedSeeds inside a blocking volume.
public int CrowdedSeeds too close to a plant they could not displace.
public int ShadedSeeds under more canopy than they tolerate.
public int DisplacedPlants a higher-priority seed removed.
public int CappedSeeds refused because the region was full.
public int ConsideredHow many seeds the simulation considered in total.
public int RefusedHow many were refused.
Methods (1)
public FoliageGrowthResult(int Steps, int Sown, int Sprouted, int Placed, int NoSurface, int Blocked, int Crowded, int Shaded, int Displaced, int Capped)What a simulation did, and what refused each seed that did not take.
Used by (4)
- FoliageBlockerTestsVixen.Rendering.Terrain.Tests
- FoliageGrowthVixen.Foliage
- FoliageGrowthTestsVixen.Foliage.Tests
- TerrainModuleVixen.Editor.Terrain