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.
Absolute Value applies the absolute value to the variable.
Arccosine calculates the arccosine of the specified value.
Arcsine calculates the arcsine of the specified value.
Arctangent calculates the arctangent of the specified value.
Cast to Floating Point casts a variable to a floating point.
Cast to Integer casts a variable to an integer.
Ceiling finds the ceiling of the variable.
Cosine calculates the cosine of the specified value.
Exponent applies an exponent to the variable.
| Name | Explanation | Type |
|---|---|---|
| Power | The exponent to use on the variable. | Variable or Value |
Floor finds the floor of the variable.
From Array turns an array back into a string.
Note: The default Separator is a space.
| Name | Explanation | Type |
|---|---|---|
| Separator | The separator used to stitch the array into a string. | Variable or Value |
Length calculates the length of the value in the variable.
Logarithm calculates the log value of the variable.
| Name | Explanation | Type |
|---|---|---|
| Log Base | The logarithmic base to use when calculating log values. | Variable or Value |
Lowercase lowercases a string.
Pop pops the last character off of a string.
Pop From Array pops (removes) an index out of an array.
| 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 pushes a value into an array.
| Name | Explanation | Type |
|---|---|---|
| Operand | The value to push into the array. | Variable or Value |
| Index | The index in the array. | Variable or Value |
Replace replaces a string's values.
| Name | Explanation | Type |
|---|---|---|
| Replacement | The replacement value. | Variable or Value |
| Search | The search value. | Variable or Value |
Round rounds the variable accordingly.
| Name | Explanation | Type |
|---|---|---|
| Digits | The number of digits to round to. | Variable or Value |
Screen to World Coordinates modifies variables to convert them from screen space to world space.
Note: This has multiple inputs or outputs.
| 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 calculates the sine of the specified value.
Substring builds a substring from a string.
| 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 calculates the tangent of the specified values.
To Array turns a string into an array.
Trim trims a string at the beginning and the end.
Uppercase uppercases a string.
World to Screen Coordinates modifies variables to convert them from world space to screen space.
Note: This has multiple inputs or outputs.
| 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 |