ドキュメント

Unity Engine

Unity Engine

operator |

Returns the result of a componentwise bitwise or operation on two bool3 vectors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

operator |(bool3, bool3)

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

Parameters

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

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

Returns

Type

Description

bool3bool3 result of the componentwise bitwise or.

operator |(bool3, bool)

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

Parameters

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

rhs

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

Returns

Type

Description

bool3bool3 result of the componentwise bitwise or.

operator |(bool, bool3)

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

Parameters

lhs

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

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

Returns

Type

Description

bool3bool3 result of the componentwise bitwise or.