# Node Structure

RealityHub visualizes Engine entities as nodes inside the Nodegraph/Actions module.&#x20;

To set an example, RealityHub reads Reality Engine nodes and visualizes them inside its Nodegraph. Then, depending on the logical connections between nodes, it creates a node tree, triggers functions & sends commands to a targeted pipeline in real-time.

<figure><img src="https://2088155242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQK92PsN60xhGnaXpHINP%2Fuploads%2FhyQ54x6vflvzLLHEBFCY%2FNode-Structure.png?alt=media&#x26;token=13bf1cd7-9328-4f43-a84c-e84053fd276d" alt=""><figcaption><p>Node Structure</p></figcaption></figure>

A node has various visual attributes, as shown in the image above.

### Debugging Mode <a href="#nodestructure-debuggingmode" id="nodestructure-debuggingmode"></a>

In RealityHub terminology, debugging mode refers to a **unique state** which activates several features such as visualization.&#x20;

Not all nodes support debugging mode. The most common debugging uses <mark style="color:yellow;">**`Cyclorama`**</mark>, <mark style="color:yellow;">**`ProjectionCube`**</mark>, <mark style="color:yellow;">**`Camera`**</mark>, and Lights in a live production workflow.&#x20;

The reason behind the Debugging Mode is to help you adjust various features of your live production scene without going back and forth to the Reality Engine.

### GamePad <a href="#nodestructure-gamepad" id="nodestructure-gamepad"></a>

This feature provides input to various nodes to control them in a three-dimensional space. This feature becomes useful when you want to change, for instance, the X, Y, Z, Roll, Yaw, and Pitch axis of a <mark style="color:yellow;">**`Camera`**</mark> inside your scene via RealityHub.&#x20;

Instead of typing inputs manually, GamePad allows you to change your <mark style="color:yellow;">**`Camera`**</mark> axis into a free look (a.k.a, mouselook) like playing a first-person shooter game.

To use GamePad:

* Select a <mark style="color:yellow;">**`Camera`**</mark> node
* Click on the <mark style="color:purple;">**`GamePad`**</mark> **Activation Button**

As soon as you click on the <mark style="color:purple;">**`GamePad`**</mark> activation button:

<div align="left"><img src="https://2088155242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQK92PsN60xhGnaXpHINP%2Fuploads%2F5ieRAamSRF9xoDdgS8pi%2Fimage.png?alt=media&#x26;token=0a311aab-ff7a-4326-bc39-fe9e3824f35b" alt="GamePad Navigation Tool and Activation Button"></div>

1. The **GamePad Navigation Tool** inside the Nodegraph view gets activated
2. <mark style="color:purple;">**`GamePad`**</mark> button turns to blue, as shown in the image above

* Click and hold your right mouse button on the GamePad Navigation Tool
  * Using **WASDQE** keys transforms you into a 3d space
  * Moving your mouse gives you the ability to freelook

### Active and Passive Attributes <a href="#nodestructure-activeandpassiveattributes" id="nodestructure-activeandpassiveattributes"></a>

<div align="left"><img src="https://2088155242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQK92PsN60xhGnaXpHINP%2Fuploads%2FjU2hYGzT45lQ23I47uY8%2Fimage.png?alt=media&#x26;token=93190608-1c38-4a33-8d8f-808b84645fb7" alt="Active and Passive Attributes"></div>

As shown in the image above, active, and passive node elements differ from one another.

### Pin Coloring <a href="#nodestructure-pincolouring" id="nodestructure-pincolouring"></a>

<div align="left"><img src="https://2088155242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQK92PsN60xhGnaXpHINP%2Fuploads%2FSGn7wx0HGiLCyKiuoVNd%2Fimage.png?alt=media&#x26;token=71d27418-f08a-442f-ae47-92ca16f45eb9" alt="Pin Colors"></div>

RealityHub reflects the actual state inside the Reality Engine, and each node can be connected to the **associated node**(s).&#x20;

You can establish a connection between **logically matching nodes**. To help you distinguish node classes, RealityHub utilizes the Pin Coloring method, as shown in the image above.
