Class ScalarRoot
Returns the root at the nth degree of a radicand.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Scalar")]
[UnitTitle("Root")]
[UnitOrder(106)]
public sealed class ScalarRoot : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
degree
The degree.
Declaration
[DoNotSerialize]
[PortLabel("n")]
public ValueInput degree { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
radicand
The radicand.
Declaration
[DoNotSerialize]
[PortLabel("x")]
public ValueInput radicand { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
root
The nth degree root of the radicand.
Declaration
[DoNotSerialize]
[PortLabel("ⁿ√x")]
public ValueOutput root { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Root(Flow)
Declaration
public float Root(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| Single |