Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

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

Definition

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

operator -(double4x4, double4x4)

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

Parameters

Left hand side double4x4 to use to compute componentwise subtraction.

Right hand side double4x4 to use to compute componentwise subtraction.

Returns

Type

Description

double4x4double4x4 result of the componentwise subtraction.

operator -(double4x4, double)

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

Parameters

Left hand side double4x4 to use to compute componentwise subtraction.

Right hand side double to use to compute componentwise subtraction.

Returns

Type

Description

double4x4double4x4 result of the componentwise subtraction.

operator -(double, double4x4)

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

Parameters

Left hand side double to use to compute componentwise subtraction.

Right hand side double4x4 to use to compute componentwise subtraction.

Returns

Type

Description

double4x4double4x4 result of the componentwise subtraction.