Skip to main content

PulleyBeltHelper.BeltOutput

A private struct in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One candidate tangent line from a pulley circle to the next, worked out by PulleyBeltHelper when it fits a belt around a list of circles.

Constructors​

MemberWhat it is
BeltOutput(Vector3 tangent, bool isAExternal, bool isBExternal, bool isCExternal)Creates a PulleyBeltHelper.BeltOutput from tangent, isAExternal, isBExternal and isCExternal.

Fields​

MemberWhat it is
bool isAExternalWhether the belt wraps the outside of this circle (A) on this tangent.
bool isBExternalWhich side of the next circle (B) the tangent meets.
bool isCExternalWhich side of the circle after that (C) this option was checked against.
Vector3 tangentThe tangent line offset from circle A's centre toward circle B.

Used in​

Members of other types that take, return or hold a BeltOutput: