iterami/Docs.htm/common HTM Projects/webgl.js/webgl_primitive_terrain(args)
- Creates terrain based upon provided properties.
- Additional default args are handled by webgl_prefab_args(args).
- Translation is the center of the terrain.
colors
| []
| array of numbers
|
height-random
| 10
| number
|
heights
| []
| array of numbers
|
tiles-x
| 10
| number
|
tiles-x-size
| 10
| number
|
tiles-z
| 10
| number
|
tiles-z-size
| 10
| number
|