WireConnectionWrapper
public class WireConnectionWrapper : RenderingNodeWrapperThe visual properties of one of the part’s wires, exposed to component logic as Connections.<WireName>. Colours are read and written as Color. Writing a colour re-renders the wire automatically (the setters call the wire’s own repaint).
Properties you read and set
Section titled “Properties you read and set”WireColor
Section titled “WireColor”public Color WireColor { get; set; }The colour of the conductor, the wire’s core: the whole wire when it has no sheath, and where the sheath is stripped back when it has one. Writing an unchanged colour costs nothing. Main thread (Update, Initialize or an interactivity handler), not PhysicsUpdate.
SheathColor
Section titled “SheathColor”public Color SheathColor { get; set; }The colour of the insulating sheath drawn over the conductor when HasSheath is true. Writing an unchanged colour costs nothing. Main thread, not PhysicsUpdate.
HasSheath
Section titled “HasSheath”public bool HasSheath { get; set; }Whether the wire draws an insulating sheath over its conductor (a jumper wire never draws one). Main thread, not PhysicsUpdate.
WireLength
Section titled “WireLength”public double WireLength { get; set; }Physical wire length in mm of a prototyping (jumper) wire, or of a wire drawn as a drape: the curve between its two ends is solved to spend exactly this much wire, so close ends loop up with slack and far ends pull taut (it never draws shorter than the span). No effect on a wire drawn straight or angular. Main thread, not PhysicsUpdate.
Generated from the CRUMB source, commit fcec660d, 2026-10-29.

