# Class: skybox

6 2d images make a cube and can be set as background of a scene.

## Hierarchy

    o-+ l3dlist
      o-+ skybox

## Interfaces:

- hashid

## Methods:

### Method overview:

- delete
- deleteall
- fovfactor
- new
- worldrotation

new (texture cubemap / string north,south,east,west,top,bottom)
  returns: (skybox)
  creates a new skybox from given texture filenames or uses the given texture (must be cubemap)
delete (skybox)
  returns: ()
  deletes skybox
deleteall ()
  returns: ()
  deletes all existing skyboxes
fovfactor (skybox,[float size])
  returns: (float)
  returns or sets fovfactor, renderfov = camera.fov * fovfactor
worldrotation ([float angle,x,y,z])
  returns: ([float angle,x,y,z])
  sets world angle/axis for skybox cubemap rotations. Also used in shaders when skyreflectmap texgen is used.

## Inherited Methods:

### From l3dlist

reinit