# 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.

## Hierarchy

    o-+ l3dlist
      o-+ l3dset

## Methods:

### Method overview:

- default
- disabled
- get
- getdefaultview
- layer
- sun
- updateall

default ([l3dset])
  returns: ([l3dset])
  returns or sets default l3dset.
disabled (l3dset,[boolean])
  returns: (boolean)
  returns or sets disabled state
get (int 0-3)
  returns: (l3dset)
  returns l3dset
getdefaultview (l3dset)
  returns: (l3dview)
  returns default l3dview of the set
layer ([l3dset],int 0..15)
  returns: (l3dlayerid)
  returns l3dlayerid for l3dset or default l3dset. If default l3dset is used the layer is also set as default layer. So whenever you dont pass l3dlayerid to l3dnodes, the default layer/l3dset combo will be used.
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