Access Result node Values in c++

Hi,

I’m using a LineTrace to get the FaceIndex from an static Mesh (is working)

Now I get the applied material from the static triangle (is working)

But now I’d like to acces the “Result” values from the material, like opacity, normal, metallic and so on. But I dont know how to do that from UMaterial. Does someone know a way so solve this?