implicit operator half2(half)
Implicitly converts a single half value to a half2 vector by assigning it to every component.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static implicit operator half2(half v)
Parameters
half to convert to half2
Returns
Type | Description |
|---|---|
| half2 | Converted value. |