Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

Returns the result of a componentwise subtraction operation on two float2x4 matrices.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

operator -(float2x4, float2x4)

Returns the result of a componentwise subtraction operation on two float2x4 matrices.
public static float2x4 operator -(float2x4 lhs, float2x4 rhs)

Parameters

Left hand side float2x4 to use to compute componentwise subtraction.

Right hand side float2x4 to use to compute componentwise subtraction.

Returns

Type

Description

float2x4float2x4 result of the componentwise subtraction.

operator -(float2x4, float)

Returns the result of a componentwise subtraction operation on a float2x4 matrix and a float value.
public static float2x4 operator -(float2x4 lhs, float rhs)

Parameters

Left hand side float2x4 to use to compute componentwise subtraction.

Right hand side float to use to compute componentwise subtraction.

Returns

Type

Description

float2x4float2x4 result of the componentwise subtraction.

operator -(float, float2x4)

Returns the result of a componentwise subtraction operation on a float value and a float2x4 matrix.
public static float2x4 operator -(float lhs, float2x4 rhs)

Parameters

Left hand side float to use to compute componentwise subtraction.

Right hand side float2x4 to use to compute componentwise subtraction.

Returns

Type

Description

float2x4float2x4 result of the componentwise subtraction.