operator ++(int2)
Returns the result of a componentwise increment operation on an int2 vector.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static int2 operator ++(int2 val)
Parameters
Value to use when computing the componentwise increment.
Returns
Type | Description |
|---|---|
| int2 | int2 result of the componentwise increment. |