But I get compiler errors because there is no method with two FTransform arguments. I did already solve the issue by using pointer to actors (pointer to FTransform are not allowed for some reason).
I’m posting because I’m curious: Is there a helper like std::ref for such use cases?
Thx for the responses. I edited my Post and added the declaration.
It seems like the binding of reference based payload data for delegates is not possible yet.
Easy work-around is to use a pointer to the object.
In case when UE forbids to expose a pointer, then a pointer to the owning object may do the trick.
I’m still curios if there is a std::ref equivalent in UE?