FlowEffect

.Animation. FlowEffect

水流动画

Constructor

new Glodon.Bimface.Plugins.Animation.FlowEffect(flowEffectConfig)

Parameters:
Name Type Description
flowEffectConfig Glodon.Bimface.Plugins.Animation.FlowEffectConfig

水流动画配置项

Methods

getId()

获取水流动画对象ID

Returns:
Type Description
String

水流动画对象ID

getSpeed()

获取水流动画速度

Returns:
Type Description
Array

水流动画速度

play()

开始动画效果

setSpeed(speed)

设置水流动画速度

Parameters:
Name Type Description
speed Array

水流动画速度

stop()

停止动画效果