Ce que fait la commande
SculptTerrain prend id (une chaîne), x (un flottant), z (un flottant), mode (une chaîne), radius (un flottant) et strength (un flottant), et rend un entier.
Syntaxe
SculptTerrain(id string, x float, z float, mode string, radius float, strength float) → integerParamètres
| Nom | Type |
|---|---|
| id | string |
| x | float |
| z | float |
| mode | string |
| radius | float |
| strength | float |
Chaque forme rend
integer
Exemple · engendré
DO Print(SculptTerrain("value", 100.0, 100.0, "value", 1.0, 0.5)) Sync()LOOPSculptTerrain est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.