添加水流效果
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
Object | optional 场景对象 | ||||||||||||||||||||||||||||||||||||||||||||
options |
Object |
optional
设置水流属性:
|
Members
设置透明度
是否翻转Y
设置水流高度
设置流动纹理
设置是否流动
moveDir : Cartesian3
设置起伏变化,默认为new Cartesian3(50, 1, 100)
moveVar : Cartesian3
设置起伏变化,默认为new Cartesian3(50, 1, 100)
设置水流方向,-1为正向流动,1为反向流动,数值绝对值越大,速度越快
设置流动速度
设置水流宽度