By default, Function(Property) will be called lots of times using UE4 slider to tweak Property. However, Function() in our case is quite expensive, so we want to avoid calling it several times. Instead, we would like to avoid calling Function(Property) until the slider is released.
Is there a flag for UPROPERTY to do this? Or any other solutions?
I was thinking maybe there is an option in UPROPERTY flags/meta data that can be used to indicate this kind of usage. But it turned out there is no such flag. As for OnMouseCaptureEnd, I don’t see any function calls regarding to it in my case.