OptionalcolorMarker + line color. Default yellow.
OptionaldisplayModel unit (pass the response's modelunits). The scene is in meters, so the default label is
converted to this unit — a mm model reads "25.0 mm". Defaults to meters. Ignored if format is set.
OptionalenabledCreate the measurement tool. Default false. Note: this only builds the tool (and its label
overlay); start measuring by calling measureTool.setEnabled(true) on the init result.
OptionalformatFormat the measurement → label text. Receives the straight-line distance and per-axis delta.
Default renders the total plus a Δx/Δy/Δz breakdown.
OptionallabelCSS class for the distance label.
OptionalsnapSnap to a vertex within this many screen px. Default 12.
Two-click distance measurement tool. See
createMeasureTool.