Creates a terrain height function from a preset.
Terrain preset name or custom preset configuration.
Optional
Optional random function for seeding.
A function that returns terrain height at (x, z) coordinates.
Creates a terrain height function from a preset.