Click or drag to resize

Vector2Aspect Method

Returns the aspect ratio of this vector, the ratio of `x` to `y`.

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

Return Value

Type: Single
The `x` component divided by the `y` component.
See Also