Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==

Returns the result of a componentwise equality operation on two half2 vectors.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

operator ==(half2, half2)

Returns the result of a componentwise equality operation on two half2 vectors.
public static bool2 operator ==(half2 lhs, half2 rhs)

Parameters

Left hand side half2 to use to compute componentwise equality.

Right hand side half2 to use to compute componentwise equality.

Returns

Type

Description

bool2bool2 result of the componentwise equality.

operator ==(half2, half)

Returns the result of a componentwise equality operation on a half2 vector and a half value.
public static bool2 operator ==(half2 lhs, half rhs)

Parameters

Left hand side half2 to use to compute componentwise equality.

rhs

Right hand side half to use to compute componentwise equality.

Returns

Type

Description

bool2bool2 result of the componentwise equality.

operator ==(half, half2)

Returns the result of a componentwise equality operation on a half value and a half2 vector.
public static bool2 operator ==(half lhs, half2 rhs)

Parameters

lhs

Left hand side half to use to compute componentwise equality.

Right hand side half2 to use to compute componentwise equality.

Returns

Type

Description

bool2bool2 result of the componentwise equality.