Documentation

Unity Engine

Download Unity

Unity Engine

operator -(float3)

Returns the result of a componentwise subtraction operation on two float3 vectors.
Read time 1 minuteLast updated 2 months ago

Definition

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

Parameters

Returns

Type

Description

float3float3 result of the componentwise subtraction.