Skip to main content

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.

Constructors​

MemberWhat it is
Tunnel()Creates a RoomFixPlugin.Tunnel with default values.

Fields​

6 private and internal fields
MemberWhat it is
private float endBacking field for End.
private OperationType operationBacking field for OperationType.
private AnimationCurve radiusBacking field for Radius.
private float startBacking field for Start.
private AnimationCurve valueBacking field for Value.
private float verticalOffsetBacking field for VerticalOffset.

Properties​

MemberWhat 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: