docs.unity.cn
    Show / Hide Table of Contents

    Operator UnaryNegation

    UnaryNegation(float3)

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

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

    Value to use when computing the componentwise unary minus.

    Returns
    Type Description
    float3

    float3 result of the componentwise unary minus.

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