Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator &

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

Definition

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

operator &(uint4x2, uint4x2)

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

Parameters

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

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

Returns

Type

Description

uint4x2uint4x2 result of the componentwise bitwise and.

operator &(uint4x2, uint)

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

Parameters

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

rhs

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

Returns

Type

Description

uint4x2uint4x2 result of the componentwise bitwise and.

operator &(uint, uint4x2)

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

Parameters

lhs

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

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

Returns

Type

Description

uint4x2uint4x2 result of the componentwise bitwise and.