Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator -(float3)

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