PipelineElement
An abstract class in Root.Township, the global namespace.
Base class for one step in an object processing pipeline that turns an input object into an output, using a seeded random function and spawn data.
- Listed in Global namespace: P
- Derived types
PipelineDistribution,PipelineFlattenDistribution
Constructors
| Member | What it is |
|---|---|
protected PipelineElement() | Creates a PipelineElement with default values. |
Properties
| Member | What it is |
|---|---|
abstract string Description { get; } | Text describing what the step does. |
abstract string Name { get; } | The step's display name. |
Methods
| Member | What it is |
|---|---|
abstract IEnumerable<Object> PossibleResults(Object input) | Lists every object this step could produce from an input. |
abstract Object Process(Object input, Func<double> random, SpawnData spawnData) | Runs the step on an input object and returns the result. |
Used in
Members of other types that take, return or hold a PipelineElement: