Number of senders with a visible (active or lingering) ruler.
Applies a presence payload from sender (any opaque per-sender key, e.g.
the envelope from). Non-measure or malformed payloads are ignored and
reported as false, so hosts can feed every presence frame through.
Removes every ruler immediately.
Unregisters the overlay, cancels timers, stops animating. Idempotent.
Removes a sender's ruler immediately (presence-leave/disconnect).
Renders remote shared-ruler measurements through the viewport overlay registration, independent of the viewer's active tool. Entries are stamped with local receive time (remote clocks are never trusted). A cleared payload holds the final measurement for
holdMs, fades overfadeMs, and deletes; presence-leave (remove) deletes immediately. An active entry not updated formaxAgeMsis expired by a timer — an idle map never renders, so expiry cannot ride on the draw path. The overlay never touches elements, history, or persisted state, and never moves the viewer's camera.The per-sender lifetime is
LingerOverlay; this class only validates payloads and draws one measurement.