Method MaxComponent
MaxComponent(Vector2)
Returns the largest component of this vector.
Declaration
public static float MaxComponent(this Vector2 vector)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | vector | The vector whose maximum component will be returned. |
Returns
| Type | Description |
|---|---|
| float | The maximum value. |