docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ~

    | Improve this Doc View Source

    operator ~(uint2)

    Returns the result of a componentwise bitwise not operation on a uint2 vector.

    Declaration
    public static uint2 operator ~(uint2 val)
    Parameters
    Type Name Description
    uint2 val

    Value to use when computing the componentwise bitwise not.

    Returns
    Type Description
    uint2

    uint2 result of the componentwise bitwise not.

    • Improve this Doc
    • View Source
    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)