How to get the bounding box of the current level?

I’d like to be able to restrict the camera to the current level in C++. I can fake that result but I’d like to do this programatically. How can I get the size/bounds of the current level in C++? Or is there a better way to do this than what I’m currently thinking?

There is a CheckStillInWorld function in actor which might do what you require.

No, I don’t think that will do it. We’re not querying anything about individual actors; we’re trying to actually ask, “What are the total bounds of the entire level”?

There is no global bounding box for the level. You would need to add one yourself.

What dose this do then?