# Class: l3dlevelmodel

A model that is very large and contains static geometry. The model will be split into a subdivided visibility cubes. Meshes that contain 'lightmap_' in their texture string will get those auto-loaded and applied.

## Hierarchy

    o-+ l3dlist
      o-+ l3dnode
        o-+ l3dlevelmodel

## Interfaces:

- renderflag
- rendersurface

## Methods:

new (string name,[l3dlayerid],model,int separatorsx,y,z, [int minpolys])
  returns: ([l3dlevelmodel])
  creates new l3dlevelmodel. Visibility cubes are generated with the given separations (>=1).
lightmap (l3dlevelmodel,int i)
  returns: (texture)
  returns ith lightmap.
lightmapcount (l3dlevelmodel)
  returns: (int)
  returns how many lightmaps are used.

## Inherited Methods:

### From l3dnode

cambox, camsphere, camvolumedelete, color, delete, get, isanimateable, lightmap, lightmaptexmatrix, linkbone, linkinterface, localmatrix, localpos, localrotaxis, localrotdeg, localrotrad, name, novistest, parent, renderscale, rotationlock, setlayer, unlink, unlinkbone, updateall, uselocal, usemanualworld, visflag, worldmatrix, worldpos, worldrotaxis, worldrotdeg, worldrotrad

### From l3dlist

reinit