Method Inverse
Inverse(Vector2)
Returns the component-wise inverse of this vector [1/x, 1/y].
Declaration
public static Vector2 Inverse(this Vector2 vector)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | vector | The vector to invert. |
Returns
| Type | Description |
|---|---|
| Vector2 | The inverted vector. |