docs.unity.cn
    Show / Hide Table of Contents

    Operator OnesComplement

    OnesComplement(int2)

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

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

    Value to use when computing the componentwise bitwise not.

    Returns
    Type Description
    int2

    int2 result of the componentwise bitwise not.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use