Click or drag to resize

Vector2MinAxis Method

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

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

Return Value

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