Looking at the screenshot, I'm guessing it's using the "Constrainfloorelevation off"cheat, and then messing around with level terrain. Would allow for sloping, though I've no idea if you can level terrain when it comes to the base of a swimming pool.