CloudBox

new SuperMap3D.CloudBox(options)

Cloud class. Used to add clouds to the scene.
Name Type Description
options Object Parameters have the following properties:
Name Type Description
url String The address of the cloud layer data to be added
Example:
var cloudBox = new SuperMap3D.CloudBox({
     url:'picture's address'
});
scene.cloudBox = cloudBox;

Members

speed : Number

Get or set the speed of clouds.
Default Value: 1.0

url : String

Get or set the address of the cloud image to be added.

Methods

destroy()

Destroys the object and frees WebGL resources.