大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0020 秒)
...osition.x; disVector1.y = touch.position.y - touch2.position.y; distance = Vector2.scalarLength(disVector1); first = false; } else{ disVector2.x = touch.position.x - touch2.position.x; disVector2.y = touch.position.y - touch2.position.y; var distance2:Number = Vector2.scalarLength(disVector2); //根...
来源: Laya2.0_文档 发布时间: 20210715
....disVector1.y = touch.position.y - touch2.position.y; this.distance = Laya.Vector2.scalarLength(this.disVector1); this.first = false; } else{ this.disVector2.x = touch.position.x - touch2.position.x; this.disVector2.y = touch.position.y - touch2.position.y; var distance2 = Laya.Vector2.scalarLength(...
来源: Laya2.0_文档 发布时间: 20210715
....disVector1.y = touch.position.y - touch2.position.y; this.distance = Laya.Vector2.scalarLength(this.disVector1); this.first = false; } else{ this.disVector2.x = touch.position.x - touch2.position.x; this.disVector2.y = touch.position.y - touch2.position.y; var distance2 = Laya.Vector2.scalarLength(...
来源: Laya2.0_文档 发布时间: 20210715
...* ……省略若干代码 */ //创建一个屏幕点 let point = new Laya.Vector2(); //创建一个射线 Laya.Ray(射线的起点,射线的方向) let ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); //以鼠标点击的点作为原点 point.x = Laya.stage.mouseX; point....
来源: Laya2.0_文档 发布时间: 20210715