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