Understanding Nodes
Nodes are the foundation of the Canvas, StellarX’s visual scripting tool. Nodes are blocks that contain information and customizable settings, and allow you to create Scenarios. They provide control over various StellarX functionalities in a visual way, so that you can use them without actually coding.
For instance, a creator could use a Play Animation Node to animate an asset, or a Play Media Node to play a specific audio file during a scenario.
Nodes are composed of 3 different sections : Inputs, Outputs, and Data.
Adding a Node to the Canvas
In order for Nodes to be used in a scenario, they need to be added to the Canvas.
- Add a Canvas Asset to your Space.
- Remix the Canvas; to do so,point your laser at it, and select Remix inside the quick actions menu (located on the dominant hand controller) using the controller’s joystick.
- Point at the remixed Canvas, and push the joystick forward to open the Nodes Constellation menu.
- Navigate through the Node categories to find the Node you need.
- Press the controller trigger to select the Node.
The selected Node will now appear on your Canvas. Once a Node is added to the Canvas, it can be customized and connected to other Nodes.
GIF
Connecting Nodes
When connected to each other, Nodes can share and process information. Nodes are connected through links.
Flow Control Links (Blue Links)
Generally,Flow Control links connect one event’s "Flow Out" to another’s "FlowIn". They ensure the logical progression of events, allowing one event to trigger the next in a sequence.
In some cases, Flow Control links originate from outputs such as "On Finish," "On Collision," or "On Trigger." These links function similarly, controlling when the flow goes after entering a Node.
Value Links (White Links)
Each value contained inside a Node represents a setting that customizes how it functions. To modify default settings, you can connect Value Nodes. The outputs from Value Nodes can be linked to one or more inputs within the Node you want to update, allowing you to dynamically adjust its behavior. Connecting Value Nodes will create a Value Link, which will be white.
Customizing Nodes
Nodes Data can also be customized by remixing them, and manually adjusting the values inside.
To remix and modify :
- Point to a Node. You’ll find the Quick Actions menu on the dominant hand controller (right hand as default).
- From there, you can open the Remix Panel by selecting Remix with the controller joystick.
All adjustable data is accessible via the Remix Panel. Press the toggles, or enter values to customize effects.
Remixed Node :
GIF
Types of Nodes
There are various types of Nodes, providing different information and parameterizable properties. In the Node Menu, you’ll find all the Nodes listed inside categories for use in the Canvas. Below is a snapshot of the Nodes Menu, along with a list of the different Node categories.