operator +
Returns the result of a componentwise addition operation on two uint2 vectors.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
operator +(uint2, uint2)
Returns the result of a componentwise addition operation on two uint2 vectors.
public static uint2 operator +(uint2 lhs, uint2 rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint2 | uint2 result of the componentwise addition. |
operator +(uint2, uint)
Returns the result of a componentwise addition operation on a uint2 vector and a uint value.
public static uint2 operator +(uint2 lhs, uint rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint2 | uint2 result of the componentwise addition. |
operator +(uint, uint2)
Returns the result of a componentwise addition operation on a uint value and a uint2 vector.
public static uint2 operator +(uint lhs, uint2 rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint2 | uint2 result of the componentwise addition. |