PB Layer Interaction

Navigation:  Widget Designer > Nodes > Input Nodes > Pandoras Box Input >

PB Layer Interaction

prev main next

Navigation:  Widget Designer > Nodes > Input Nodes > Pandoras Box Input >

PB Layer Interaction

prev main next

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

The PB Interaction Input node provides mouse and touch point feedback from a Pandoras Box system with activated "Input Events". If you are interested in filtering the feedback data based on the Site or Device ID or if you are working with multi-touch inputs, please use the Layer Mouse input or Layer Touch input instead.

 

The node can be found under Nodes > Input Nodes > Pandoras Box > Layer Interaction

wd_nodes_input_layer-interaction

The chapter "Picking Mode" explains what to set up on Pandoras Box side but also in Widget Designer.

In short:

- PB Master includes "Widget Designer Device" in Device Tree

- PB Master or Client > Input Event Settings > "Output" and "Widget Designer Device" activated

- PB Master in Picking Mode or Client connected to mouse or touch device

- WD > PB Network Configuration > connected to Master and "Enable Connections" to Widget Designer Device => "Input Tester"shows data

If you are interested in sending mouse or touch data to a Pandoras Box (drawing) Canvas, please see the chapter "Layer UV Draw to Canvas".

Node Properties

Source IP:
Optionally, enter the IP from the Pandoras Box Master, otherwise the Master connection from the PB Network Configuration works.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).connected

Node output values

The Node generates the following output: (For an explanation regarding this data, please scroll down in the chapter "Picking Mode" and see the options in the dialog PB Network Configuration.

- Site

- Device

- ScreenX

- ScreenY

- TextureU

- TextureV

- Mouse Left

- Mouse Middle

- Mouse Right

- Mouse Wheel