大约有 295 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
Laya_社区(209) Laya2.0_文档(27) Laya_示例(19) Laya2.0_示例(14) Laya2.0_api(8) laya_api(8) Laya3.0_文档(8) Laya3.0_api(2)
...ton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -rectangle.y, rectangle.width, rectangle.h...
来源: Laya_社区 发布时间: 20171114
.../成功则进入会员列表 var mblv = new BriefView(); mblv.init(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("...
来源: Laya_社区 发布时间: 20170215
... var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image); 附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你在报错的...
来源: Laya_社区 发布时间: 20180403
...同来自: 不会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void { Laya.SoundManager.playSound("res/sound/onClick.wav"); } 你看看是不是你的代码逻辑有问题那? ...
来源: Laya_社区 发布时间: 20180503
...var mousePoint=Input3D._tempPoint; mousePoint.setTo(e.pageX,e.pageY); Laya.stage._canvasTransform.invertTransformPoint(mousePoint); this._mouseTouch.mousePositionX=mousePoint.x; this._mouseTouch.mousePositionY=mousePoint.y; this._mouseTouchRayCast(cameras); break ; case "touchstart":; var lastLength...
来源: Laya_社区 发布时间: 20200119
...的坐标转换问题 怎样获取鼠标/触摸当前坐标 获得节点在stage中的坐标 3D模型的原点不在模型的中心上,这种情况该如何获取一个3D模型的中心点坐标? spine骨骼动画如何获取某个骨骼的坐标 问题状态 最新活动: 2018-03-07 10:40 浏...
来源: Laya_社区 发布时间: 20180307
...t (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12142:26) at Stage.addChild (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:11998:22) at GameUI.onLoadSceneOver (file:///E:/A_LayaDemo/test3Dscene/bin/js/bundle.js:28:24) at Handler.runWith (file:///E:/A_LayaDemo/test3Dscen...
来源: Laya_社区 发布时间: 20191129
...对应的3D世界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint...
来源: Laya2.0_文档 发布时间: 20210714
...对应的3D世界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint...
来源: Laya2.0_文档 发布时间: 20210715
...对应的3D世界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCou...
来源: Laya2.0_文档 发布时间: 20210714