Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator &

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

Definition

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

operator &(uint4x4, uint4x4)

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

Parameters

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

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

Returns

Type

Description

uint4x4uint4x4 result of the componentwise bitwise and.

operator &(uint4x4, uint)

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

Parameters

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

rhs

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

Returns

Type

Description

uint4x4uint4x4 result of the componentwise bitwise and.

operator &(uint, uint4x4)

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

Parameters

lhs

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

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

Returns

Type

Description

uint4x4uint4x4 result of the componentwise bitwise and.