Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -

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

Definition

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

operator -(double3, double3)

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

Parameters

Left hand side double3 to use to compute componentwise subtraction.

Right hand side double3 to use to compute componentwise subtraction.

Returns

Type

Description

double3double3 result of the componentwise subtraction.

operator -(double3, double)

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

Parameters

Left hand side double3 to use to compute componentwise subtraction.

Right hand side double to use to compute componentwise subtraction.

Returns

Type

Description

double3double3 result of the componentwise subtraction.

operator -(double, double3)

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

Parameters

Left hand side double to use to compute componentwise subtraction.

Right hand side double3 to use to compute componentwise subtraction.

Returns

Type

Description

double3double3 result of the componentwise subtraction.