Click or drag to resize

Vector2MaxAxis Method

Returns the axis of the vector's largest value. See Vector2Axis. If both components are equal, this method returns X.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2Axis MaxAxis()

Return Value

Type: Vector2Axis
The index of the largest axis.
See Also