Documentation

Unity Engine

Unity Engine

operator -(double2)

Returns the result of a componentwise subtraction operation on two double2 vectors.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static double2 operator -(double2 val)

Parameters

Returns

Type

Description

double2double2 result of the componentwise subtraction.