How would i use line trace in c++

ahh i get it now so can i start a method with the RV_Hit as a param and check whats hitting my actor?