Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

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

Definition

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

operator -(uint3x2, uint3x2)

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

Parameters

Left hand side uint3x2 to use to compute componentwise subtraction.

Right hand side uint3x2 to use to compute componentwise subtraction.

Returns

Type

Description

uint3x2uint3x2 result of the componentwise subtraction.

operator -(uint3x2, uint)

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

Parameters

Left hand side uint3x2 to use to compute componentwise subtraction.

rhs

Right hand side uint to use to compute componentwise subtraction.

Returns

Type

Description

uint3x2uint3x2 result of the componentwise subtraction.

operator -(uint, uint3x2)

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

Parameters

lhs

Left hand side uint to use to compute componentwise subtraction.

Right hand side uint3x2 to use to compute componentwise subtraction.

Returns

Type

Description

uint3x2uint3x2 result of the componentwise subtraction.