大约有 1 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0010 秒)
...} function onMouseMove(e) { var distance = getDistance(e.touches); //判断当前距离与上次距离变化,确定是放大还是缩小 const factor = 0.01; sp.scaleX += (distance - lastDistance) * factor; sp.scaleY += (distance - lastDistance) * factor; lastDistance = distance; } function onMous...
来源: Laya_示例 发布时间: 20241117