Cloud class. Used to add clouds to the scene.
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Object |
Parameters have the following properties:
|
Example:
var cloudBox = new SuperMap3D.CloudBox({
url:'picture's address'
});
scene.cloudBox = cloudBox;
Members
-
Get or set the speed of clouds.
-
Default Value:
1.0
-
Get or set the address of the cloud image to be added.
Methods
-
Destroys the object and frees WebGL resources.