docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Clamp Operators

    Clamp, round, or limit values.

    Page Description
    Ceiling Operator Round an input up to the nearest integer.
    Clamp Operator Limit an input value between a lower and upper bound for each axis.
    Discretize Operator Get the multiple of an input that's closest to a second input.
    Floor Operator Round an input value down to the nearest integer.
    Maximum Operator Get the largest value from all input values.
    Minimum Operator Get the smallest value from all input values.
    Round Operator Round an input value to the nearest integer.
    Saturate Operator Clamp a value between 0 and 1.
    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)