# ImagePanorama

Equirectangular based image panorama

## Constructor

#### new ImagePanorama(image)

Source:
  - panorama/ImagePanorama.js, line 10

##### Parameters:

Name | Type | Description
--- | --- | ---
`image` | string | Image url or HTMLImageElement

### Methods

#### dispose()

Source:
  - panorama/ImagePanorama.js, line 88

Dispose

#### load(src)

Source:
  - panorama/ImagePanorama.js, line 33

Load image asset

##### Parameters:

Name | Type | Description
--- | --- | ---
`src` | * | Url or image element

#### onLoad(texture)

Source:
  - panorama/ImagePanorama.js, line 61

This will be called when image is loaded

##### Parameters:

Name | Type | Description
--- | --- | ---
`texture` | THREE.Texture | Texture to be updated

#### reset()

Source:
  - panorama/ImagePanorama.js, line 77

Reset