I
I
Incari Studio
2023.1
Search
K

Root

Overview

The Root Node.
Root calculates the nth root of a number, where n is called the degree of the root. This Node outputs the number which, when raised to the nth power, yields the base given as input.
The most common example of Root operations is finding the square (degree 2) root, or cubic (degree 3) root of a number. However, this can also be used for higher degrees.
Base
Degree
Output
9
2
3
13824
3
24
160000
4
20
1024
10
2
Scope: Project, Scene, Function, Prefab.

Attributes

The Root Node Attributes.
Input
Type
Description
Default Base
Float
The default value of Base, if no value is provided in the Base Socket.
Default Degree
Float
The default value of Degree, if no value is provided in the Degree Socket.

Inputs

Input
Type
Description
Pulse Input (►)
Pulse
A standard input Pulse, to trigger the execution of the Node.
Base
Float
The value you want to find the nth root of.
Degree
Float
The degree of the root.

Outputs

Output
Type
Description
Pulse Output (►)
Pulse
A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Float
The nth root (defined in Degree) of Base.

See Also