Picking goes through DistanceMeasurementTool.picker —
the same BVH-based path the rest of the demo helpers use, so it
doesn't fight the GPU pick pipeline.
The control is single-shot per pair — re-activation starts
fresh, even if the previous activation left a half-built
measurement around (it is discarded).
Mouse-driven creation of DistanceMeasurements on a DistanceMeasurementTool.
Workflow
pointermove+clickto the tool's View canvas.Esccancels an in-progress measurement.Repeats until deactivate (or destroy) is called.
Picking goes through DistanceMeasurementTool.picker — the same BVH-based path the rest of the demo helpers use, so it doesn't fight the GPU pick pipeline.
The control is single-shot per pair — re-activation starts fresh, even if the previous activation left a half-built measurement around (it is discarded).