WaterEffect

WaterEffect

反射折射水面

Constructor

new WaterEffect(scene, options)

Parameters:
Name Type Description
scene Scene

场景对象.

options Object

对象具有如下属性:

Properties
Name Type Attributes Default Description
viewer Viewer

指定场景对象.

waterColor Color <optional>
new Cesium.Color(0.439, 0.564, 0.788, 0)

指定颜色

addRipplesEffect Color <optional>
true

显示涟漪效果

Methods

destroy()

销毁水面对象.