# Class: l3dtext

A text node

## Hierarchy

    o-+ l3dlist
      o-+ l3dnode
        o-+ l3dtext

## Interfaces:

- renderflag
- rendersurface

## Methods:

### Method overview:

- dimensions
- font
- fontset
- new
- size
- spacing
- text

new (string name,[l3dlayerid],string text,[fontset])
  returns: ([l3dtext])
  creates new l3dtext
dimensions (l3dtext)
  returns: (float x,y,z)
  returns dimension of space it would take when printed
font (l3dtext,[texture])
  returns: ([texture])
  returns or sets font texture
fontset (l3dtext,[fontset])
  returns: ([fontset])
  returns or sets fontset.
size (l3dtext,[float])
  returns: ([float])
  returns or sets font size, default is 16
spacing (l3dtext,[float])
  returns: ([float])
  returns or sets font spacing, default is 16
text (l3dtext,[string])
  returns: ([string])
  returns or sets text

## Inherited Methods:

### From l3dnode

cambox, camsphere, camvolumedelete, color, delete, isanimateable, lightmap, lightmaptexmatrix, linkinterface, localmatrix, localpos, localrotaxis, localrotdeg, localrotquat, localrotrad, name, novistest, parent, parentbone, renderscale, rotationlock, setlayer, unlink, unparentbone, uselocal, uselookat, usemanualworld, visflag, worldmatrix, worldpos, worldrotaxis, worldrotdeg, worldrotquat, worldrotrad

### From l3dlist