# Class: terraindecal

A decalsurface on top of a terrain.

## Methods:

### Method overview:

- activate
- blendmode
- deactivate
- delete
- matsurface
- new
- pos
- rotdeg
- rotrad
- size

new ()
  returns: (terraindecal)
  new decal
activate (terraindecal,tbterrain,[int lifetime])
  returns: ()
  activates decal on given terrain. optional lifetime
blendmode (terraindecal,[blendmode])
  returns: ([blendmode])
  blendmode
deactivate (terraindecal)
  returns: ()
  deactivates decal
delete (terraindecal)
  returns: ()
  deletes decal
matsurface (terraindecal,[matsurface])
  returns: ([matsurface])
  materal/texture of decal
pos (terraindecal,[float x,y])
  returns: ([float x,y])
  center of decal
rotdeg (terraindecal,[float])
  returns: ([float])
  rotation in degrees
rotrad (terraindecal,[float])
  returns: ([float])
  rotation in radians
size (terraindecal,[float])
  returns: ([float])
  size