Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -(double2)

Returns the result of a componentwise subtraction operation on two double2 vectors.
Read time 1 minuteLast updated 12 days 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.