Operator implicit operator
implicit operator half4(half)
Implicitly converts a single half value to a half4 vector by assigning it to every component.
Declaration
public static implicit operator half4(half v)
Parameters
| Type | Name | Description |
|---|---|---|
| half | v | half to convert to half4 |
Returns
| Type | Description |
|---|---|
| half4 | Converted value. |