docs.unity.cn
    Show / Hide Table of Contents

    Operator Equality

    Equality(float2x4, float2x4)

    Returns the result of a componentwise equality operation on two float2x4 matrices.

    Declaration
    public static bool2x4 operator ==(float2x4 lhs, float2x4 rhs)
    Parameters
    Type Name Description
    float2x4 lhs

    Left hand side float2x4 to use to compute componentwise equality.

    float2x4 rhs

    Right hand side float2x4 to use to compute componentwise equality.

    Returns
    Type Description
    bool2x4

    bool2x4 result of the componentwise equality.

    Equality(float2x4, Single)

    Returns the result of a componentwise equality operation on a float2x4 matrix and a float value.

    Declaration
    public static bool2x4 operator ==(float2x4 lhs, float rhs)
    Parameters
    Type Name Description
    float2x4 lhs

    Left hand side float2x4 to use to compute componentwise equality.

    Single rhs

    Right hand side float to use to compute componentwise equality.

    Returns
    Type Description
    bool2x4

    bool2x4 result of the componentwise equality.

    Equality(Single, float2x4)

    Returns the result of a componentwise equality operation on a float value and a float2x4 matrix.

    Declaration
    public static bool2x4 operator ==(float lhs, float2x4 rhs)
    Parameters
    Type Name Description
    Single lhs

    Left hand side float to use to compute componentwise equality.

    float2x4 rhs

    Right hand side float2x4 to use to compute componentwise equality.

    Returns
    Type Description
    bool2x4

    bool2x4 result of the componentwise equality.

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