Creation/Dev/Script/Client/TerrainEditor: Difference between revisions
From Graal Bible
mNo edit summary |
Pooper200000 (talk | contribs) No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
Inherits [[Creation/Dev/Script/Client/GuiControl|GuiControl]]. | |||
=Variables= | |||
{| border="1" cellpadding="2" width="100%" | |||
| '''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= | |||
{| border="1" cellpadding="2" width="100%" | |||
| '''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() | |||
| | |||
| | |||
|} |
Latest revision as of 11:41, 16 February 2010
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() |