PipelineFlattenDistribution
A class in Root.Township, the global namespace.
Object pipeline step that keeps picking from nested distributions until it reaches something that isn't a distribution.
Constructors
Properties
| Member | What it is |
|---|
override string Description { get; } | Editor description of the step. |
override string Name { get; } | Editor name, "Flatten Distribution". |
Methods
| Member | What it is |
|---|
override IEnumerable<Object> PossibleResults(Object input) (iterator) | Lists every final result reachable through the nested distributions. |
override Object Process(Object input, Func<double> random, SpawnData spawnData) | Picks randomly through nested distributions and returns the first non-distribution result. |