Creation/Dev/Script/Client/TerrainEditor: Difference between revisions

From Graal Bible
mNo edit summary
 
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
[[Category:Scripting Reference]]
    TerrainEditor (GuiControl):
Inherits [[Creation/Dev/Script/Client/GuiControl|GuiControl]].
      adjustheightmousescale - float
 
      adjustheightval - float
=Variables=
      borderfillcolor - string
{| border="1" cellpadding="2" width="100%"
      borderframecolor - string
| '''Name'''
      borderheight - float
| '''Type'''
      borderlinemode - boolean
| '''Description'''
      brushpos - string
|-
      enablesoftbrushes - boolean
| adjustheightmousescale
      isdirty - boolean
| float
      ismissiondirty - boolean
|
      materialgroup - integer
|-
      paintmaterial - string
| adjustheightval
      processusesbrush - boolean
| float
      renderborder - boolean
|
      rendervertexselection - boolean
|-
      scaleval - float
| borderfillcolor
      selectionhidden - boolean
| string
      setheightval - float
|
      smoothfactor - float
|-
      softselectdefaultfilter - string
| borderframecolor
      softselectfilter - string
| string
      softselectradius - float
|
      attachterrain(str)
|-
      buildmaterialmap()
| borderheight
      clearmodifiedflags()
| float
      clearselection()
|
      getactionname(int) - returns string
|-
      getbrushpos() - returns string
| borderlinemode
      getcurrentaction() - returns string
| boolean
      getnumactions() - returns integer
|
      getnumtextures() - returns integer
|-
      getterrainmaterials() - returns object
| brushpos
      gettexturename(int) - returns string
| string
      markemptysquares()
|
      mirrorterrain(int)
|-
      popbasematerialinfo()
| enablesoftbrushes
      processaction(str)
| boolean
      pushbasematerialinfo()
|
      redo()
|-
      resetselweights(bool)
| isdirty
      setaction(str)
| boolean
      setbrushpos(str)
|
      setbrushsize(int, int)
|-
      setbrushtype(str)
| ismissiondirty
      setlonebasematerial(str)
| boolean
      setterrainmaterials(str)
|
      undo()
|-
</pre>
| 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 12: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()