Class: TranslatePlugin

TranslatePlugin()

构件移动动画插件

Constructor

new TranslatePlugin()

Methods

translateXYZ(option)

指定XYZ方向上各自移动的距离
Parameters:
Name Type Description
option object 参数对象
Example
{
     modelId:模型ID
     productIds:构件ID数组
     x: X方向位移 默认0 
     y: Y方向位移 默认0 
     z: Z方向位移 默认0 
     time: 动画执行时长 毫秒,默认0,表示无动画过程 
}