Atan2()

MathF::Atan2(float, float) method

Calculates the arctan of the ration of the specified values.

static float System::MathF::Atan2(float y, float x)

Arguments

ParameterTypeDescription
yfloatThe point’s y coordinate
xfloatThe point’s x coordinate

Return Value

Arctan of y/x

See Also