What is the real world application of a pure vs impure function?

I’m not quite grasping why you would want to use one over the other, a pure vs impure function. On a practical level, in the example of the exercise, the function was, well, functioning (lol) just fine before it was made “pure”— so why change it to pure? If both were working what makes one better than the other?

This means that a Pure Function will be called one time for each node it is connected to.

- Functions | Unreal Engine 4.27 Documentation

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms