Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator &

Returns the result of a componentwise bitwise and operation on two bool4x4 matrices.
Read time 1 minuteLast updated 12 days ago

Definition

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

operator &(bool4x4, bool4x4)

Returns the result of a componentwise bitwise and operation on two bool4x4 matrices.
public static bool4x4 operator &(bool4x4 lhs, bool4x4 rhs)

Parameters

Left hand side bool4x4 to use to compute componentwise bitwise and.

Right hand side bool4x4 to use to compute componentwise bitwise and.

Returns

Type

Description

bool4x4bool4x4 result of the componentwise bitwise and.

operator &(bool4x4, bool)

Returns the result of a componentwise bitwise and operation on a bool4x4 matrix and a bool value.
public static bool4x4 operator &(bool4x4 lhs, bool rhs)

Parameters

Left hand side bool4x4 to use to compute componentwise bitwise and.

rhs

Right hand side bool to use to compute componentwise bitwise and.

Returns

Type

Description

bool4x4bool4x4 result of the componentwise bitwise and.

operator &(bool, bool4x4)

Returns the result of a componentwise bitwise and operation on a bool value and a bool4x4 matrix.
public static bool4x4 operator &(bool lhs, bool4x4 rhs)

Parameters

lhs

Left hand side bool to use to compute componentwise bitwise and.

Right hand side bool4x4 to use to compute componentwise bitwise and.

Returns

Type

Description

bool4x4bool4x4 result of the componentwise bitwise and.