How to assign a UStruct parameter in a blueprint?
I have a C++ UFunction which takes a UStruct as a parameter, such as
UFUNCTION(BlueprintCallable, Category="foobar") void (UStruct *theStruct);
I am told during compilation that I need to make the parameter variable a pointer - which is fine, no problem with that.
But when I want to use this function within my blueprint, I can not assign a custom struct I made in the editor to the corresponding input pin.
The error message is that "Structure is not compatible with Structure Reference".
So, how can I make such a Structure Reference?
Thanks a lot and best regards, Martin
asked Jan 23 '16 at 12:39 PM in C++ Programming
I don't believe there is currently any way to pass a blueprint struct to C++ unfortunately.
answered Jan 24 '16 at 12:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here