1
2
3
4
5
6
7
8
9
10
11
12
| // 流向动画设置
| function setFlowAnimation(data) {
| // viewer.getModel().isolateComponentsById(components, Glodon.Bimface.Viewer.IsolateOption.MakeOthersTranslucent);
| // 动画
| flowEffectConfig1 = new Glodon.Bimface.Plugins.Animation.FlowEffectConfig();
| // 构造水流动画对象 flowEffect1
| flowEffectConfig1.material = data;
| flowEffectConfig1.speed = [0.01, 0];
| flowEffectConfig1.viewer = _viewer;
| flowEffect1 = new Glodon.Bimface.Plugins.Animation.FlowEffect(flowEffectConfig1);
| flowEffect1.play();
| }
|
|