Variable Manipulator

Variable Manipulators

Variable Manipulators are auxiliary methods that can be used on Variables to alter their value. They are leveraged by the Variable Manipulation command.

Note: Variable Manipulators offer more than mathematical functions, as they can do scene calculations (e.g. Screen to World), array operations (e.g. Pop From Array), and more.


Variable Manipulators


Absolute Value

Absolute Value applies the absolute value to the variable.


Arccosine

Arccosine calculates the arccosine of the specified value.


Arcsine

Arcsine calculates the arcsine of the specified value.


Arctangent

Arctangent calculates the arctangent of the specified value.


Cast to Floating Point

Cast to Floating Point casts a variable to a floating point.


Cast to Integer

Cast to Integer casts a variable to an integer.


Ceiling

Ceiling finds the ceiling of the variable.


Cosine

Cosine calculates the cosine of the specified value.


Exponent

Exponent applies an exponent to the variable.

Properties

System

Name Explanation Type
Power The exponent to use on the variable. Variable or Value

Floor

Floor finds the floor of the variable.


From Array

From Array turns an array back into a string.

Note: The default Separator is a space.

Properties

System

Name Explanation Type
Separator The separator used to stitch the array into a string. Variable or Value

Length

Length calculates the length of the value in the variable.


Logarithm

Logarithm calculates the log value of the variable.

Properties

System

Name Explanation Type
Log Base The logarithmic base to use when calculating log values. Variable or Value

Lowercase

Lowercase lowercases a string.


Pop

Pop pops the last character off of a string.


Pop From Array

Pop From Array pops (removes) an index out of an array.

Properties

System

Name Explanation Type
Destination The destination to pop the value into. Variable or Value
Index The index in the array. Variable or Value

Push To Array

Push To Array pushes a value into an array.

Properties

System

Name Explanation Type
Operand The value to push into the array. Variable or Value
Index The index in the array. Variable or Value

Replace

Replace replaces a string's values.

Properties

System

Name Explanation Type
Replacement The replacement value. Variable or Value
Search The search value. Variable or Value

Round

Round rounds the variable accordingly.

Properties

System

Name Explanation Type
Digits The number of digits to round to. Variable or Value

Screen to World Coordinates

Screen to World Coordinates modifies variables to convert them from screen space to world space.

Note: This has multiple inputs or outputs.

Properties

System

Name Explanation Type
Screen Depth The screen's depth-coordinate. Variable or Value
Screen X The screen's x-coordinate. Variable or Value
Screen Y The screen's y-coordinate. Variable or Value
World X The world's x-coordinate output. Variable
World Y The world's y-coordinate output. Variable
World Z The world's z-coordinate output. Variable

Sine

Sine calculates the sine of the specified value.


Substring

Substring builds a substring from a string.

Properties

System

Name Explanation Type
Index The index to start the substring at. Variable or Value
Length The length of the substring to acquire. Variable or Value

Tangent

Tangent calculates the tangent of the specified values.


To Array

To Array turns a string into an array.


Trim

Trim trims a string at the beginning and the end.


Uppercase

Uppercase uppercases a string.


World to Screen Coordinates

World to Screen Coordinates modifies variables to convert them from world space to screen space.

Note: This has multiple inputs or outputs.

Properties

System

Name Explanation Type
Screen X The screen's x-coordinate output. Variable
Screen Y The screen's y-coordinate output. Variable
World X The world's x-coordinate. Variable or Value
World Y The world's y-coordinate. Variable or Value
World Z The world's z-coordinate. Variable or Value