# CubePanorama

Cubemap-based panorama

## Constructor

#### new CubePanorama(images)

Source:
  - panorama/CubePanorama.js, line 10

##### Parameters:

Name | Type | Description
--- | --- | ---
`images` | array | Array of 6 urls to images, one for each side of the CubeTexture. The urls should be specified in the following order: pos-x, neg-x, pos-y, neg-y, pos-z, neg-z

### Methods

#### dispose()

Source:
  - panorama/CubePanorama.js, line 75

Dispose

#### load()

Source:
  - panorama/CubePanorama.js, line 42

Load 6 images and bind listeners

#### onLoad(texture)

Source:
  - panorama/CubePanorama.js, line 62

This will be called when 6 textures are ready

##### Parameters:

Name | Type | Description
--- | --- | ---
`texture` | THREE.CubeTexture | Cube texture