Animation.scale3d(Number sx, Number sy, Number sz)
基础库
3.34.0开始支持
缩放。
参数
Number sx, Number sy, Number sz
参数说明
在 X 轴缩放 sx 倍数,在 Y 轴缩放 sy 倍数,在 Z 轴缩放 sz 倍数。
返回值
Animation
示例代码
const animation = bl.createAnimation();
animation.scale3d(Math.random() * 2, Math.random() * 2, Math.random() * 2).step();