How to get the functions from node shaders into custom shaders

I have created some material shaders, on the C++ side using IMPLEMENT_MATERIAL_SHADER_TYPE, and i need to have access to the material node editor data.
For example, if i call GetMaterialWorldPositionOffset, it returns nothing, independent of the nodes of the material.
What do I need to bind to get the information from that?