# Class: l3dset

The List3D is organised in l3dsets, every set contains multiple layers. You can render the same set from different l3dviews. One default l3dview always exists per l3dset. Each l3dset has its own sun. particlesystems and particleclouds are rendered at the end of every l3dset. Every l3dnode requires a l3dlayerid, directly or indirectly via defaults. l3dsets are independent from each other, and l3dnodes can only be rendered in one l3dset. By default 0-2 are disabled.
l3dsets are renderd in this order: 0,1,2,3/background,4/normal,5/top.
l3dlayers are then rendered in following order: layerftb,layer0-14,layerbtf.
first and last layer are sorted by distance to camera, all others are sorted for efficient rendering.
Implements: matobject

## Hierarchy

    o-+ l3dlist
      o-+ l3dset

## Methods:

### Method overview:

- default
- disabled
- get0
- get1
- get2
- get3
- get4
- get5
- getbackground
- getdefaultview
- getnormal
- gettop
- layer0
- layer1
- layer10
- layer11
- layer12
- layer13
- layer2
- layer3
- layer4
- layer5
- layer6
- layer7
- layer8
- layer9
- layerbtf
- layerftb
- sun
- updateall

default ([l3dset])
  returns: ([l3dset])
  returns or sets default l3dset.
disabled (l3dset,[boolean])
  returns: (boolean)
  returns or sets disabled state
get0 ()
  returns: (l3dset)
  returns l3dset
get1 ()
  returns: (l3dset)
  returns l3dset
get2 ()
  returns: (l3dset)
  returns l3dset
get3 ()
  returns: (l3dset)
  returns l3dset
get4 ()
  returns: (l3dset)
  returns l3dset
get5 ()
  returns: (l3dset)
  returns l3dset
getbackground ()
  returns: (l3dset)
  returns l3dset, same as get3
getdefaultview (l3dset)
  returns: (l3dview)
  returns default l3dview of the set
getnormal ()
  returns: (l3dset)
  returns l3dset, same as get4
gettop ()
  returns: (l3dset)
  returns l3dset, same as get5
layer0 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 0, as with layerbtf/ftb
layer1 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 1, as with layerbtf/ftb
layer10 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 10, as with layerbtf/ftb
layer11 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 11, as with layerbtf/ftb
layer12 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 12, as with layerbtf/ftb
layer13 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 13, as with layerbtf/ftb
layer2 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 2, as with layerbtf/ftb
layer3 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 3, as with layerbtf/ftb
layer4 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 4, as with layerbtf/ftb
layer5 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 5, as with layerbtf/ftb
layer6 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 6, as with layerbtf/ftb
layer7 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 7, as with layerbtf/ftb
layer8 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 8, as with layerbtf/ftb
layer9 ([l3dset])
  returns: (l3dlayerid)
  returns/sets default l3dlayerid for layer 9, as with layerbtf/ftb
layerbtf ([l3dset])
  returns: (l3dlayerid)
  if l3dset is passed then returns back-to-front l3dlayerid, else makes layer default and returns l3dlayerid with current default l3dset
layerftb ([l3dset])
  returns: (l3dlayerid)
  if l3dset is passed then returns front-to-back l3dlayerid, else makes layer default and returns l3dlayerid with current default l3dset
sun (l3dset,[l3dlight])
  returns: (l3dlight)
  returns or sets sun, disabled when 2nd arg is not a l3dlight. If disabled we will use default sun
updateall (l3dset)
  returns: ()
  updates all nodes, so that world state is uptodate

## Inherited Methods:

### From l3dlist

reinit