Add Variable in Class to be accesible in Blueprints

Hello,

I have what I believe to be a relatively simple task but am a bit new to C++ in Unreal. I want to make a variable in this Class accessible in Blueprints: Retarget Mesh From Pose

image

In the second image, I would like to be able to input a IKRetargeter Asset. Maybe there is another way to do this through BP but I haven’t figured it out.

My thought is I could just edit that Class and make it BP readable/writable but I’m not entirely sure how to do that or if that is something I shouldn’t be doing. Any thoughts or advice would be greatly appreciated.

If you’re building engine from source code and don’t mind altering engine, you could theoretically just make that UPROPERTY(EditAnywhere), although that doesn’t necessarily mean being able to supply it will actually do what you want it to do. There might be good reasons why that isn’t exposed. (or there might not be…)

If your game is C++ based, then you can make a class or struct that contains one of these, and supplies an interface to change it.