Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator |

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

Definition

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

operator |(bool3x3, bool3x3)

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

Parameters

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

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

Returns

Type

Description

bool3x3bool3x3 result of the componentwise bitwise or.

operator |(bool3x3, bool)

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

Parameters

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

rhs

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

Returns

Type

Description

bool3x3bool3x3 result of the componentwise bitwise or.

operator |(bool, bool3x3)

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

Parameters

lhs

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

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

Returns

Type

Description

bool3x3bool3x3 result of the componentwise bitwise or.