implicit operator int3(int)
Implicitly converts a single int value to a int3 vector by assigning it to every component.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static implicit operator int3(int v)
Parameters
int to convert to int3
Returns
Type | Description |
|---|---|
| int3 | Converted value. |