# Class: skybox

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

## Hierarchy

    o-+ l3dlist
      o-+ skybox

## Methods:

### Method overview:

- delete
- fovfactor
- new
- worldrotation

new (texture cubemap / string north,south,west,east,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
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