It just fills an array with height values (ranging from 0-1 mostly), which you can use for whatever you want.