# 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],[float mergemargin])
  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, isanimateable, lastframe, 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