Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==

Returns the result of a componentwise equality operation on two bool2x4 matrices.
Read time 1 minuteLast updated 9 days ago

Definition

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

operator ==(bool2x4, bool2x4)

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

Parameters

Left hand side bool2x4 to use to compute componentwise equality.

Right hand side bool2x4 to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.

operator ==(bool2x4, bool)

Returns the result of a componentwise equality operation on a bool2x4 matrix and a bool value.
public static bool2x4 operator ==(bool2x4 lhs, bool rhs)

Parameters

Left hand side bool2x4 to use to compute componentwise equality.

rhs

Right hand side bool to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.

operator ==(bool, bool2x4)

Returns the result of a componentwise equality operation on a bool value and a bool2x4 matrix.
public static bool2x4 operator ==(bool lhs, bool2x4 rhs)

Parameters

lhs

Left hand side bool to use to compute componentwise equality.

Right hand side bool2x4 to use to compute componentwise equality.

Returns

Type

Description

bool2x4bool2x4 result of the componentwise equality.