TVector::Rotation

Return the UE::Math::TRotator orientation corresponding to the direction in which the vector points.