Operator UnaryNegation
UnaryNegation(int2)
Returns the result of a componentwise unary minus operation on an int2 vector.
Declaration
public static int2 operator -(int2 val)
Parameters
Type | Name | Description |
---|---|---|
int2 | val | Value to use when computing the componentwise unary minus. |
Returns
Type | Description |
---|---|
int2 | int2 result of the componentwise unary minus. |