Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
static FVector2D Vector_UnitCartesianToSpherical
&40;
FVector A
&41;
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].