docs.unity.cn
    Show / Hide Table of Contents

    Operator Subtraction

    Subtraction(double3, double3)

    Returns the result of a componentwise subtraction operation on two double3 vectors.

    Declaration
    public static double3 operator -(double3 lhs, double3 rhs)
    Parameters
    Type Name Description
    double3 lhs

    Left hand side double3 to use to compute componentwise subtraction.

    double3 rhs

    Right hand side double3 to use to compute componentwise subtraction.

    Returns
    Type Description
    double3

    double3 result of the componentwise subtraction.

    Subtraction(double3, Double)

    Returns the result of a componentwise subtraction operation on a double3 vector and a double value.

    Declaration
    public static double3 operator -(double3 lhs, double rhs)
    Parameters
    Type Name Description
    double3 lhs

    Left hand side double3 to use to compute componentwise subtraction.

    Double rhs

    Right hand side double to use to compute componentwise subtraction.

    Returns
    Type Description
    double3

    double3 result of the componentwise subtraction.

    Subtraction(Double, double3)

    Returns the result of a componentwise subtraction operation on a double value and a double3 vector.

    Declaration
    public static double3 operator -(double lhs, double3 rhs)
    Parameters
    Type Name Description
    Double lhs

    Left hand side double to use to compute componentwise subtraction.

    double3 rhs

    Right hand side double3 to use to compute componentwise subtraction.

    Returns
    Type Description
    double3

    double3 result of the componentwise subtraction.

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