bool2x4
Constructs a bool2x4 matrix from four bool2 vectors.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
bool2x4(bool2, bool2, bool2, bool2)
Constructs a bool2x4 matrix from four bool2 vectors.
public bool2x4(bool2 c0, bool2 c1, bool2 c2, bool2 c3)
Parameters
bool2x4(bool, bool, bool, bool, bool, bool, bool, bool)
Constructs a bool2x4 matrix from 8 bool values given in row-major order.
public bool2x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13)
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 0, column 3 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 1, column 3 will be set to this value.
bool2x4(bool)
Constructs a bool2x4 matrix from a single bool value by assigning it to every component.
public bool2x4(bool v)
Parameters
bool to convert to bool2x4