WaterEffectConfig

类:水面效果配置项

Constructor

new Glodon.Bimface.Earth.Plugins.Animation.WaterEffectConfig(viewer, boundary, color, flow, heightTolerance, ids, offset, scale, shadow, xDirection, yDirection)

构造水面效果配置项

Parameters:
NameTypeDescription
viewerGlodon.Bimface.Earth.Viewer.ViewerGIS

Viewer对象,必填

boundaryArray

水面边界点,boundary、ids选填一项,若都填写则默认ids有效

colorGlodon.Web.Graphics.Color

水面颜色

flowBoolean

水面是否流动

heightToleranceNumber

允许的构件高差,默认为0.001,单位与场景单位相同

idsArray

构件ID的数组,在viewerGIS中如[{"layerId": "11", "objectIds": ["22","33"]}],boundary、ids选填一项,若都填写则默认ids有效

offsetNumber

竖向偏移,正数为向上移动,负数为向下移动,默认值为0

scaleNumber

波纹系数

shadowBoolean

水面是否有倒影

xDirectionNumber

水平流速,默认值为1

yDirectionNumber

垂直流速,默认值为1