docs.unity.cn
    Show / Hide Table of Contents

    Operator UnaryNegation

    UnaryNegation(double3)

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

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

    Value to use when computing the componentwise unary minus.

    Returns
    Type Description
    double3

    double3 result of the componentwise unary minus.

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