Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==

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

Definition

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

operator ==(half3, half3)

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

Parameters

Left hand side half3 to use to compute componentwise equality.

Right hand side half3 to use to compute componentwise equality.

Returns

Type

Description

bool3bool3 result of the componentwise equality.

operator ==(half3, half)

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

Parameters

Left hand side half3 to use to compute componentwise equality.

rhs

Right hand side half to use to compute componentwise equality.

Returns

Type

Description

bool3bool3 result of the componentwise equality.

operator ==(half, half3)

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

Parameters

lhs

Left hand side half to use to compute componentwise equality.

Right hand side half3 to use to compute componentwise equality.

Returns

Type

Description

bool3bool3 result of the componentwise equality.