docs.unity.cn
    Show / Hide Table of Contents

    Operator Subtraction

    Subtraction(float2x4, float2x4)

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

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

    Left hand side float2x4 to use to compute componentwise subtraction.

    float2x4 rhs

    Right hand side float2x4 to use to compute componentwise subtraction.

    Returns
    Type Description
    float2x4

    float2x4 result of the componentwise subtraction.

    Subtraction(float2x4, Single)

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

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

    Left hand side float2x4 to use to compute componentwise subtraction.

    Single rhs

    Right hand side float to use to compute componentwise subtraction.

    Returns
    Type Description
    float2x4

    float2x4 result of the componentwise subtraction.

    Subtraction(Single, float2x4)

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

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

    Left hand side float to use to compute componentwise subtraction.

    float2x4 rhs

    Right hand side float2x4 to use to compute componentwise subtraction.

    Returns
    Type Description
    float2x4

    float2x4 result of the componentwise subtraction.

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