bool3x2
Returns a bool3x2 matrix constructed from two bool3 vectors.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
bool3x2(bool3, bool3)
Returns a bool3x2 matrix constructed from two bool3 vectors.
public static bool3x2 bool3x2(bool3 c0, bool3 c1)
Parameters
Returns
Type | Description |
|---|---|
| bool3x2 | bool3x2 constructed from arguments. |
bool3x2(bool, bool, bool, bool, bool, bool)
Returns a bool3x2 matrix constructed from from 6 bool values given in row-major order.
public static bool3x2 bool3x2(bool m00, bool m01, bool m10, bool m11, bool m20, bool m21)
Parameters
The matrix at row 0, column 0 will be set to this value.
The matrix at row 0, column 1 will be set to this value.
The matrix at row 1, column 0 will be set to this value.
The matrix at row 1, column 1 will be set to this value.
The matrix at row 2, column 0 will be set to this value.
The matrix at row 2, column 1 will be set to this value.
Returns
Type | Description |
|---|---|
| bool3x2 | bool3x2 constructed from arguments. |
bool3x2(bool)
Returns a bool3x2 matrix constructed from a single bool value by assigning it to every component.
public static bool3x2 bool3x2(bool v)
Parameters
bool to convert to bool3x2
Returns
Type | Description |
|---|---|
| bool3x2 | Converted value. |