This function type takes x and z as Parameters and returns a number between -1 and 1 to be used as a heightmap.
x * z * 2 represent the amout of faces which are created. As a result you get 1 vertex more in each direction (x and z axis)
The y-component of the resulting mesh may be moved to values between 0 and a maximum height.
Type declaration
(x, z): number
Parameters
x: number
z: number
Returns number
Authors
Simon Storl-Schulke, HFU, 2020 | Jirka Dell'Oro-Friedl, HFU, 2021-2022
This function type takes x and z as Parameters and returns a number between -1 and 1 to be used as a heightmap. x * z * 2 represent the amout of faces which are created. As a result you get 1 vertex more in each direction (x and z axis) The y-component of the resulting mesh may be moved to values between 0 and a maximum height.