Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TVector
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include | #include "Math/Vector.h" |
TVector2 < T > UnitCartesianToSpherical() const
Remarks
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].