You can set selection color using Communicator.SelectionManager.setNodeSelectionColor
and setNodeSelectionOutlineColor
. These API set only one color. If you want to use multiple colors on selection , you can achieve it by usingCommunicator.Model.setNodesLineColor
and setNodesColors
to set colors to selected nodes instead of selection color, then when there is no selection, reset the color using resetNodesColor
.
https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.Model.html
"Materials" of Developer Examples is helpful to see how to change the color of selected nodes.
...
\uD83D\uDCCB Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Learn how to highlight nodes with multiple colors, as shown in the example below in our forum post.
...