Mouse Draw to Canvas

Navigation:  Widget Designer > Nodes > Interaction Nodes >

Mouse Draw to Canvas

prev main next

Navigation:  Widget Designer > Nodes > Interaction Nodes >

Mouse Draw to Canvas

prev main next

Please wait. Due to its content this page might take a while to load...

With the Mouse Draw to Canvas Interaction node you may send mouse click data and mouse move data to a dedicated Canvas asset in Pandoras Box to draw on it. The mouse data (happening in Widget Designer) is injected into the Pandoras Box system meaning that it is as if it was generated on the remote machine using a connected mouse for instance. Please see the next chapter about the node "Layer UV Draw to Canvas" if you like to draw on the Canvas with a mouse / touch /... input connected to the PB Client or Master directly.

wd_nodes_interaction_mouse-draw-to-canvas


 


Set up the Folder and File ID from the Canvas Asset


The Size parameter influences whether you draw a fine line or with a thicker brush.
With Red, Green, Blue and Alpha you set up the color of the brush. Note that small numbers next to parameter fields indicate that they can be changed with the command NodeSetParam.


Choose between
- "1:1" to keep the resolution as on your local screen and
- "Re-Map" with more settings to send other coordinates to the remote computer
In case you send. This is not only of interest when the screen resolution of the systems you inject input events in is different to the local resolution. But also when the resolution is much higher due to more outputs. In case the outputs are softedged you need to set up two Injection nodes with different source and target coordinates.

Tick the check box "Mute Node on Page Change" if the node should not process and output data when another page is active.