Class: TweenTransparentPlugin

TweenTransparentPlugin()

new TweenTransparentPlugin()

构件透明动画插件

Methods

reset()

恢复构件原始材质

start(option)

启动透明化动画
Parameters:
Name Type Description
option object 参数对象
time:动画执行时长 毫秒,默认0,表示无动画过程
startOpacity:起始不透明度 默认1
endOpacity:目标不透明度 默认0
productData:构件数据Array [{modelId:模型id,productIds:[构件id,构件id]}]