docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator +

    operator +(double2x2, double2x2)

    Returns the result of a componentwise addition operation on two double2x2 matrices.

    Declaration
    public static double2x2 operator +(double2x2 lhs, double2x2 rhs)
    Parameters
    Type Name Description
    double2x2 lhs

    Left hand side double2x2 to use to compute componentwise addition.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise addition.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise addition.

    operator +(double2x2, double)

    Returns the result of a componentwise addition operation on a double2x2 matrix and a double value.

    Declaration
    public static double2x2 operator +(double2x2 lhs, double rhs)
    Parameters
    Type Name Description
    double2x2 lhs

    Left hand side double2x2 to use to compute componentwise addition.

    double rhs

    Right hand side double to use to compute componentwise addition.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise addition.

    operator +(double, double2x2)

    Returns the result of a componentwise addition operation on a double value and a double2x2 matrix.

    Declaration
    public static double2x2 operator +(double lhs, double2x2 rhs)
    Parameters
    Type Name Description
    double lhs

    Left hand side double to use to compute componentwise addition.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise addition.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise addition.

    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)