docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator -

    operator -(int3)

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

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

    Value to use when computing the componentwise unary minus.

    Returns
    Type Description
    int3

    int3 result of the componentwise unary minus.

    In This Article
    Back to top
    Copyright © 2024 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)