ImageLittlePlanet

ImageLittlePlanet

Image Little Planet

Constructor

new ImageLittlePlanet(source, sizeopt, ratioopt)

Source:
Parameters:
Name Type Attributes Default Description
source string

URL for the image source

size number <optional>
10000

Size of plane geometry

ratio number <optional>
0.5

Ratio of plane geometry's height against width

Methods

dispose()

Source:

Dispose

onLoad(texture)

Source:

On loaded with texture

Parameters:
Name Type Description
texture THREE.Texture

updateTexture(texture)

Source:

Update texture

Parameters:
Name Type Description
texture THREE.Texture