Creation/Dev/Script/Client/TerrainEditor
From Graal Bible
Inherits GuiControl.
Variables
| Name | Type | Description |
| adjustheightmousescale | float | |
| adjustheightval | float | |
| borderfillcolor | string | |
| borderframecolor | string | |
| borderheight | float | |
| borderlinemode | boolean | |
| brushpos | string | |
| enablesoftbrushes | boolean | |
| isdirty | boolean | |
| ismissiondirty | boolean | |
| materialgroup | integer | |
| paintmaterial | string | |
| processusesbrush | boolean | |
| renderborder | boolean | |
| rendervertexselection | boolean | |
| scaleval | float | |
| selectionhidden | boolean | |
| setheightval | float | |
| smoothfactor | float | |
| softselectdefaultfilter | string | |
| softselectfilter | string | |
| softselectradius | float |
Functions
| Name | Return Type | Description |
| attachterrain(str) | ||
| buildmaterialmap() | ||
| clearmodifiedflags() | ||
| clearselection() | ||
| getactionname(int) | returns string | |
| getbrushpos() | returns string | |
| getcurrentaction() | returns string | |
| getnumactions() | returns integer | |
| getnumtextures() | returns integer | |
| getterrainmaterials() | returns object | |
| gettexturename(int) | returns string | |
| markemptysquares() | ||
| mirrorterrain(int) | ||
| popbasematerialinfo() | ||
| processaction(str) | ||
| pushbasematerialinfo() | ||
| redo() | ||
| resetselweights(bool) | ||
| setaction(str) | ||
| setbrushpos(str) | ||
| setbrushsize(int, int) | ||
| setbrushtype(str) | ||
| setlonebasematerial(str) | ||
| setterrainmaterials(str) | ||
| undo() |