The dot a watched object wears in the world, in its curve's colour. More...
| Import Statement: | import Clayground.Lab |
The other half of the watch loop: WatchChip puts a thing on the plot, this is how you find it again on the board. Colour carries information across surfaces - a watched part wears its curve's colour on the object and in the legend - and this is the object end of that rule.
A QtQuick item, so it lives beside the View3D rather than in it; position it from a projected point, or hand it to a WorldLabel.
WatchMark { monitor: monitor target: element.id label: root.labelOf(element.id) x: screenAt.x - width / 2; y: screenAt.y visible: screenAt.z > 0 }
See also WatchChip, WatchMonitor, and WorldLabel.
label : string |
Text beside the dot; empty draws the dot alone.
monitor : var |
The WatchMonitor supplying the colour.
onlyWhenWatched : bool |
Hide unless the target is actually on the plot (the default).
target : var |
The watched id.
tone : color |
The target's series colour.