Skip to main content

Value

RustEdit Pro

The nodes in the Value category of the Terrain Graph's Add Node menu. Round sockets carry maps and square sockets carry single values. See Graph editor.

Bool​

A constant boolean, drivable and shareable.

Inputs

InputKindDefaultNotes
ValueOn or offOffThe value this node holds and passes on.

Outputs

OutputKind
OutOn or off. The result this node produces.

Clamp Value​

Keep a value between Min and Max.

Inputs

InputKindDefaultNotes
ValueNumber0The value this node holds and passes on.
MinNumber0The lowest value.
MaxNumber1The highest value.

Outputs

OutputKind
OutNumber. The result this node produces.

Compare​

Compare two values: on or off.

Inputs

InputKindDefaultNotes
ANumber0The first input.
BNumber0The second input.
ComparisonChoiceGreaterHow to compare A with B. Options: Greater, Greater Or Equal, Less, Less Or Equal, Equal, Not Equal.

Outputs

OutputKind
OutOn or off. The result this node produces.

Float​

A constant float, drivable and shareable.

Inputs

InputKindDefaultNotes
ValueNumber0The value this node holds and passes on.

Outputs

OutputKind
OutNumber. The result this node produces.

Int​

A constant integer, drivable and shareable.

Inputs

InputKindDefaultNotes
ValueWhole number0The value this node holds and passes on.

Outputs

OutputKind
OutWhole number. The result this node produces.

Lerp​

Blend between two values.

Inputs

InputKindDefaultNotes
ANumber0The first input.
BNumber1The second input.
TNumber0.5How far from A to B. 0 gives A, 1 gives B. Slider from 0 to 1.

Outputs

OutputKind
OutNumber. The result this node produces.

Math​

Combine two values (add, multiply, min, max and more).

Inputs

InputKindDefaultNotes
ANumber0The first input.
BNumber0The second input.
OperationChoiceAddWhich operation to apply to the two inputs. Options: Add, Subtract, Multiply, Divide, Min, Max, Power, Average, Abs, Sin, Cos.

Outputs

OutputKind
OutNumber. The result this node produces.

Random​

A random number between Min and Max that only changes when the seed does.

Inputs

InputKindDefaultNotes
SeedWhole number0Change it to get a different random result.
MinNumber0The lowest value.
MaxNumber1The highest value.

Outputs

OutputKind
OutNumber. The result this node produces.

Switch​

Pass on one of two values, chosen by a condition.

Inputs

InputKindDefaultNotes
ConditionOn or offOnPicks which input is passed on.
If TrueNumber1Passed on when the condition is on.
If FalseNumber0Passed on when the condition is off.

Outputs

OutputKind
OutNumber. The result this node produces.