docs.unity.cn
    Show / Hide Table of Contents

    Operator UnaryNegation

    UnaryNegation(int4)

    Returns the result of a componentwise unary minus operation on an int4 vector.

    Declaration
    public static int4 operator -(int4 val)
    Parameters
    Type Name Description
    int4 val

    Value to use when computing the componentwise unary minus.

    Returns
    Type Description
    int4

    int4 result of the componentwise unary minus.

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