rgl::rglwidget() function creates an
htmlwidget that works in Shiny. It is integrated with
crosstalk, so you can use the mouse to select items, and they are highlighted in the
rgl display as well as in other linked widgets. This is somewhat similar to the brush in Shiny plots.
In Shiny, the
session$resetBrush() method clears the brush. Its source contains this:
private$sendMessage( resetBrush = list( brushId = brushId ) )
My question is: can set up my
rgl widget to receive these messages, or do I need to create my own custom message to do the same thing?