bool4x3
Returns a bool4x3 matrix constructed from three bool4 vectors.
Read time 2 minutesLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
bool4x3(bool4, bool4, bool4)
Returns a bool4x3 matrix constructed from three bool4 vectors.
public static bool4x3 bool4x3(bool4 c0, bool4 c1, bool4 c2)
Parameters
Returns
Type | Description |
|---|---|
| bool4x3 | bool4x3 constructed from arguments. |
bool4x3(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)
Returns a bool4x3 matrix constructed from from 12 bool values given in row-major order.
public static bool4x3 bool4x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12, bool m20, bool m21, bool m22, bool m30, bool m31, bool m32)
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 0, column 2 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 1, column 2 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.
The matrix at row 2, column 2 will be set to this value.
The matrix at row 3, column 0 will be set to this value.
The matrix at row 3, column 1 will be set to this value.
The matrix at row 3, column 2 will be set to this value.
Returns
Type | Description |
|---|---|
| bool4x3 | bool4x3 constructed from arguments. |
bool4x3(bool)
Returns a bool4x3 matrix constructed from a single bool value by assigning it to every component.
public static bool4x3 bool4x3(bool v)
Parameters
bool to convert to bool4x3
Returns
Type | Description |
|---|---|
| bool4x3 | Converted value. |