RoomFixPlugin.Tunnel
A class in Root.Township, Alta.Caves.
Settings for a tunnel in a RoomFixPlugin: operation, start and end, radius and value curves. Nothing reads them in this build.
- Listed in World generation
- Nested in
RoomFixPlugin
Constructors
| Member | What it is |
|---|---|
Tunnel() | Creates a RoomFixPlugin.Tunnel with default values. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private float end | Backing field for End. |
private OperationType operation | Backing field for OperationType. |
private AnimationCurve radius | Backing field for Radius. |
private float start | Backing field for Start. |
private AnimationCurve value | Backing field for Value. |
private float verticalOffset | Backing field for VerticalOffset. |
Properties
| Member | What it is |
|---|---|
float End { get; } | End point along the passage, 0 to 1. |
OperationType OperationType { get; } | How the tunnel combines with the voxels. |
AnimationCurve Radius { get; } | Curve for the tunnel radius. |
float Start { get; } | Start point along the passage, 0 to 1. |
AnimationCurve Value { get; } | Curve for the voxel value the tunnel writes. |
float VerticalOffset { get; } | Height offset of the tunnel. |
Used in
Members of other types that take, return or hold a Tunnel: