ForestBridges.Option
A private class in Root.Township, Alta.Forests. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
One bridge piece ForestBridges can place across a river, with spline settings and a pick weight.
- Listed in World generation
- Nested in
ForestBridges
Constructors
| Member | What it is |
|---|---|
Option() | Creates a ForestBridges.Option with default values. |
Fields
| Member | What it is |
|---|---|
GameObject display | The bridge object. Its StaticEnvironmentPieceInstance is used if piece is not set. |
float handleHeight | Height added to the spline's middle control points. |
float handleLength | Distance from each end to its spline control point, along the path. |
StaticEnvironmentPieceInstance piece | The static environment piece placed along the spline. |
float startHeight | Height added to both ends of the bridge. |
float startOffset | Distance each end is pushed back along its path from the river crossing. |
float weight | Relative chance this option is picked. |
Used in
Members of other types that take, return or hold a Option: