Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator --(float2)

Returns the result of a componentwise decrement operation on a float2 vector.
Read time 1 minuteLast updated 13 days ago

Definition

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

Parameters

Value to use when computing the componentwise decrement.

Returns

Type

Description

float2float2 result of the componentwise decrement.