Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

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

Definition

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

operator -(float2x3, float2x3)

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

Parameters

Left hand side float2x3 to use to compute componentwise subtraction.

Right hand side float2x3 to use to compute componentwise subtraction.

Returns

Type

Description

float2x3float2x3 result of the componentwise subtraction.

operator -(float2x3, float)

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

Parameters

Left hand side float2x3 to use to compute componentwise subtraction.

Right hand side float to use to compute componentwise subtraction.

Returns

Type

Description

float2x3float2x3 result of the componentwise subtraction.

operator -(float, float2x3)

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

Parameters

Left hand side float to use to compute componentwise subtraction.

Right hand side float2x3 to use to compute componentwise subtraction.

Returns

Type

Description

float2x3float2x3 result of the componentwise subtraction.