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