bool4x4
Constructs a bool4x4 matrix from four bool4 vectors.
Read time 2 minutesLast updated 10 days ago
Definition
- Type: Constructor
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
bool4x4(bool4, bool4, bool4, bool4)
Constructs a bool4x4 matrix from four bool4 vectors.
public bool4x4(bool4 c0, bool4 c1, bool4 c2, bool4 c3)
Parameters
bool4x4(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)
Constructs a bool4x4 matrix from 16 bool values given in row-major order.
public bool4x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23, bool m30, bool m31, bool m32, bool m33)
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.
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 2, column 3 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.
The matrix at row 3, column 3 will be set to this value.
bool4x4(bool)
Constructs a bool4x4 matrix from a single bool value by assigning it to every component.
public bool4x4(bool v)
Parameters
bool to convert to bool4x4