How to programatically change landscape properties during runtime?

Hey guys.

My questions is how to change a landscape’s properties during runtime? I’d like to change the height
in some specific parts of the landscape where the height would change according to
some function, and also the material/color of the landscape at some specific
It would be best if you could provide some references to read about what I want to learn.

Thanks heaps!