Module 

Header 
/Engine/Source/Runtime/Core/Public/Math/Vector4.h 
Include 
#include "Math/Vector4.h" 
Source 
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp 
FRotator Rotation() const
Return the FRotator orientation corresponding to the direction in which the vector points. Sets Yaw and Pitch to the proper numbers, and sets roll to zero because the roll can't be determined from a vector. Identical to 'ToOrientationRotator()'.
FRotator from the Vector's direction.