大约有 1 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0011 秒)
...vent; Laya.stage.off(Event.MOUSE_MOVE, this, this.onMouseMove); } /**计算两个触摸点之间的距离*/ getDistance(points) { let distance = 0; if (points && points.length == 2) { let dx = points[0].stageX - points[1].stageX; let dy = points[0].stageY - points[1].stageY; distance = Math.sqrt(dx ...
来源: Laya2.0_示例 发布时间: 20241124