Accessing the 'Result Node' Attributes from UMaterial ans UMaterialInstance with C++, such as BaseColor

Hi! I’ve been struggling for many weeks now in trying to obtain the Color of the point in trace collisions. I have tried many things but what makes it difficult is the vast differences of the structures of different materials.

Now I’ve noticed that materials (UMaterial) has a ‘Result node’ which is the sum of every parameter and texture of that material. My question is therefore, how do one access this node? Does the same method work for material instances?

The UMaterial class has the member ‘BaseColor’ but when accessed it always contains nonsens values (0 or 128).

Thanks!!