docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Arithmetic Operators

    Perform mathematical calculations on input data.

    Page Description
    Absolute Operator Calculate the absolute value of an input.
    Add Operator Calculate the sum of all inputs.
    Divide Operator Divide the first input sequentially by all other inputs.
    Fractional Operator Extract the fractional part of an input.
    Inverse Lerp Operator Calculate the fraction representing how far a value is between two values.
    Lerp Operator Calculate a linear interpolation between two values.
    Modulo Operator Calculate the remainder of dividing of one value by another.
    Multiply Operator Multiply all inputs together.
    Negate Operator Multiply an input value by -1 to invert its sign.
    One Minus Operator Subtract an input value from one.
    Power Operator Raise one input to the power of another input.
    Reciprocal Operator Calculate the result of dividing 1 by an input value.
    Sign Operator Return whether an input is positive, negative, or 0.
    Smoothstep Operator Calculate smooth Hermite interpolation between two values.
    Square Root Operator Calculate the square root of an input.
    Step Operator Compare an input value to a threshold and return whether an input is above or below the threshold
    Subtract Operator Subtract one or more inputs from another input.

    Additional resources

    • Clamp Operators
    • Remap Operators
    • Math Operators
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)