implicit operator bool4(bool)
Implicitly converts a single bool value to a bool4 vector by assigning it to every component.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static implicit operator bool4(bool v)
Parameters
bool to convert to bool4
Returns
Type | Description |
|---|---|
| bool4 | Converted value. |