OptionalcolorOptionaldisplayThe model's unit (pass data.modelunits). The scene is in meters, so the default formatter
converts and labels in this unit — e.g. a mm model reads "25.0 mm", not "0.025 m". Defaults
to meters. Ignored when a custom format is supplied.
OptionalformatFormat the measurement → label text. Receives the straight-line distance and the per-axis
delta (|b − a| on each axis), both in meters. May return multi-line text or HTML; the
default renders the total plus a Δx/Δy/Δz breakdown in displayUnit. Overrides displayUnit.
OptionallabelCSS class applied to the distance label, for styling.
OptionalsnapSnap to a vertex when the cursor is within this many screen pixels of it. Default 12.
Marker + line color. Default yellow.