Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator |

Returns the result of a componentwise bitwise or operation on two uint2x4 matrices.
Read time 1 minuteLast updated 9 days ago

Definition

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

operator |(uint2x4, uint2x4)

Returns the result of a componentwise bitwise or operation on two uint2x4 matrices.
public static uint2x4 operator |(uint2x4 lhs, uint2x4 rhs)

Parameters

Left hand side uint2x4 to use to compute componentwise bitwise or.

Right hand side uint2x4 to use to compute componentwise bitwise or.

Returns

Type

Description

uint2x4uint2x4 result of the componentwise bitwise or.

operator |(uint2x4, uint)

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

Parameters

Left hand side uint2x4 to use to compute componentwise bitwise or.

rhs

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

Returns

Type

Description

uint2x4uint2x4 result of the componentwise bitwise or.

operator |(uint, uint2x4)

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

Parameters

lhs

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

Right hand side uint2x4 to use to compute componentwise bitwise or.

Returns

Type

Description

uint2x4uint2x4 result of the componentwise bitwise or.