Documentation

Unity Engine


Unity Engine


operator ==(half, half)

Returns whether two half values are bitwise equivalent.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static bool operator ==(half lhs, half rhs)

Parameters

lhs

Left hand side half value to use in comparison.

rhs

Right hand side half value to use in comparison.

Returns

Type

Description

boolTrue if the two half values are bitwise equivalent, false otherwise.