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