/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h
Builds a matrix with given X and Y axes. X will remain fixed, Y may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized.
static FRotator MakeRotFromXY ( const FVector & X, const FVector & Y )