Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator &

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

Definition

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

operator &(int2x4, int2x4)

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

Parameters

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

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

Returns

Type

Description

int2x4int2x4 result of the componentwise bitwise and.

operator &(int2x4, int)

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

Parameters

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

rhs

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

Returns

Type

Description

int2x4int2x4 result of the componentwise bitwise and.

operator &(int, int2x4)

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

Parameters

lhs

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

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

Returns

Type

Description

int2x4int2x4 result of the componentwise bitwise and.