Skip to main content

29 docs tagged with "Scalar"

View All Tags

Absolute Value

Outputs the magnitude of the number. Is always positive.

Add

Computes the sum of two or more inputs.

Ceil

Returns the least integral value greater than or equal to the input value.

Ceil to Int

Returns the smallest integer value greater than or equal to the input value.

Clamp

Clamps a value between a minimum value and maximum value. If the minimum is greater than the maximum, the minimum value will always be returned no matter the input.

Divide

Find how many times a value contains another.

float Variable

Reads or writes a variable in the current scope based on the name.

Floor

Returns the smallest integral value less than or equal to the input value.

Floor to Int

Returns the smallest integer value less than or equal to the input value.

int Variable

Reads or writes a variable in the current scope based on the name.

Inverse Lerp

Computes an inverse linear interpolation. The output is clamped between 0 and 1.

Lerp

Computes a linear interpolation. The interpolant is clamped between 0 and 1.

Lerp Unclamped

Computes a linear interpolation. The interpolant is not clamped. When lerping between Colors, the interpolant is still constrained to values which stay within the set of real colors.

Max

Returns largest of two or more values.

Min

Returns smallest of two or more values.

Modulo

Outputs the modulo of the first value when divided by the second.

Multiply

Multiplies the two or more input values and outputs the result.

Noise

Samples a 3D Perlin noise field and returns a value usually bounded in [0,1].

Power

Multiplies a value by itself an input number of times.

Random Float

Generates a random float from ["Min" to "Max"]. "Min" is inclusive, and "Max" is also inclusive. For example with a "Min" of 0 and a "Max" of 1, both 0 and 1 have the possibility of getting output because they are both included in the range.

Random Int

Generates a random integer from ["Min" to "Max"]. "Min" is inclusive, and "Max" is also inclusive. For example with a "Min" of 0 and a "Max" of 1, 0 and 1 will have a chance of being output.

Remainder

Outputs the remainder of the first value when divided by the second.

Root

Calculate the root of a given value, with the default root being 2 (meaning the square root).

Round

Rounds the input float to the nearest integral value.

Subtract

Takes one input value away from the other.