How do I get a surface type by hit trace without using blueprint?

I cant find any documentation anywhere of how to get the surface type via hit trace without using blueprint. How do you return properties of the object that the hit trace hits?


Hi when you say surface type what do you mean ? Do you mean the type of object the trace hit ?