bool2x2
Returns a bool2x2 matrix constructed from two bool2 vectors.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
bool2x2(bool2, bool2)
Returns a bool2x2 matrix constructed from two bool2 vectors.
public static bool2x2 bool2x2(bool2 c0, bool2 c1)
Parameters
Returns
Type | Description |
|---|---|
| bool2x2 | bool2x2 constructed from arguments. |
bool2x2(bool, bool, bool, bool)
Returns a bool2x2 matrix constructed from from 4 bool values given in row-major order.
public static bool2x2 bool2x2(bool m00, bool m01, bool m10, bool m11)
Parameters
Returns
Type | Description |
|---|---|
| bool2x2 | bool2x2 constructed from arguments. |
bool2x2(bool)
Returns a bool2x2 matrix constructed from a single bool value by assigning it to every component.
public static bool2x2 bool2x2(bool v)
Parameters
bool to convert to bool2x2
Returns
Type | Description |
|---|---|
| bool2x2 | Converted value. |