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