Download

Best approach to avoid redundant recalculation of each parameters (would call only once)?

Hi!

I have:

  • my custom Actor with 4 parameters;
  • all this parameters is related to each other (changing value of one will call re-calculation of the rest parameters values);
  • each parameter have FSimpleDelegate reacting on Property Value Changed in my Actor Details Customization class;

Idea is: delegates listen for value change in each of custom parameter and calling function for recalculation and re-setting of the rest parameters.

The Question:

How to avoid redundant re-compute of parameters? I mean to call it once, not 4 times (due every parameter change)?

Can you advise me please a best approach?

This doesn’t affect on performance, I just would make it work by intelligent way :slight_smile:

Thank you in advance!