Hey guys,
I’m currently working on implementing a custom Node Editor in UE4.
Everything works fine, but it would simplify my work if every UEdGraphPin could have a reference to its Widget Representation. Is there any way to determine which SGraphPin is currently pointing on a UEdGraphPin???
Maybe a static helper method or whatever
Thanks
Greetings
Don’t bother yesterday I found the answer
For future helper seekers:
I created a custom Pin Factory and registered it in my module.
Then I created a static TMap which stores the Pointer of the SGraphPin and the UEdGraphPin.
static TMap<UEdGraphPin*, SGraphPin> PinMap;
This Map will be filled in the CreatePin Method, where every Pin HAS to be created with a given UEdGraphPin as an argument
Cheers