Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Vector.h |
Include |
#include "Math/Vector.h" |
FVector2D UnitCartesianToSpherical() const
Converts a Cartesian unit vector into spherical coordinates on the unit sphere.
Output Theta will be in the range [0, PI], and output Phi will be in the range [-PI, PI].