Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

bool2x4.operator |

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool2x4 operator |(bool2x4 lhs, bool2x4 rhs);

Parameters

Parameter Description
lhs Left hand side bool2x4 to use to compute componentwise bitwise or.
rhs Right hand side bool2x4 to use to compute componentwise bitwise or.

Returns

bool2x4 bool2x4 result of the componentwise bitwise or.

Description

Returns the result of a componentwise bitwise or operation on two bool2x4 matrices.


public static bool2x4 operator |(bool2x4 lhs, bool rhs);

Parameters

Parameter Description
lhs Left hand side bool2x4 to use to compute componentwise bitwise or.
rhs Right hand side bool to use to compute componentwise bitwise or.

Returns

bool2x4 bool2x4 result of the componentwise bitwise or.

Description

Returns the result of a componentwise bitwise or operation on a bool2x4 matrix and a bool value.


public static bool2x4 operator |(bool lhs, bool2x4 rhs);

Parameters

Parameter Description
lhs Left hand side bool to use to compute componentwise bitwise or.
rhs Right hand side bool2x4 to use to compute componentwise bitwise or.

Returns

bool2x4 bool2x4 result of the componentwise bitwise or.

Description

Returns the result of a componentwise bitwise or operation on a bool value and a bool2x4 matrix.