Click or drag to resize

Vector2Atan2 Method

Returns the vector which contains the angles in radians whose tangents are the quotient of the corresponding components in the first specified vector y and the second specified vector x.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Vector2 Atan2(
	Vector2 y,
	Vector2 x
)

Parameters

y  Vector2
The first vector.
x  Vector2
The second vector.

Return Value

Vector2
The vector which contains the angles in radians whose tangents are the quotient of the corresponding components in the first specified vector y and the second specified vector x.
See Also