Possible to hardcode image references in blueprint function library?
In my c++ BlueprintFunctionLibrary I want to create a function that returns an image depending on a number input into the function.
Did some searching and I cannot determine if it's possible to hardcode image references into the code. EG: If number = 1, return imageA.
Or even if I can setup images manually within the editor?
I know with c++ blueprint actors you can make variables exposed to the editor but I'm not seeing the option in the BlueprintFunctionLibrary.
Sure you can load a Texture via path look at the example at the bottom. Use a enum and a switch if you Hardcode makes it easier than passing a Number.
answered May 30 '16 at 06:01 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here