Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

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

Definition

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

operator -(int3x2, int3x2)

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

Parameters

Left hand side int3x2 to use to compute componentwise subtraction.

Right hand side int3x2 to use to compute componentwise subtraction.

Returns

Type

Description

int3x2int3x2 result of the componentwise subtraction.

operator -(int3x2, int)

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

Parameters

Left hand side int3x2 to use to compute componentwise subtraction.

rhs

Right hand side int to use to compute componentwise subtraction.

Returns

Type

Description

int3x2int3x2 result of the componentwise subtraction.

operator -(int, int3x2)

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

Parameters

lhs

Left hand side int to use to compute componentwise subtraction.

Right hand side int3x2 to use to compute componentwise subtraction.

Returns

Type

Description

int3x2int3x2 result of the componentwise subtraction.