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

From Graal Bible
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
<pre>
=TerrainEditor=
    TerrainEditor (GuiControl):
Inherits [[Creation/Dev/Script/Client/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==
==Variables==
{| 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()
|
|
|}

Revision as of 04:57, 27 January 2006

TerrainEditor

Inherits Creation/Dev/Script/Client/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

Variables

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()