• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 295 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)

271. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 50%]

...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

272. http无响应 [ 49%]

.../成功则进入会员列表 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

273. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 49%]

... var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image);     附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你在报错的...

来源: Laya_社区 发布时间: 20180403

274. 微信小游戏声音,使用playsound播放音效问题 [ 48%]

...同来自: 不会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.SoundManager.playSound("res/sound/onClick.wav");         } 你看看是不是你的代码逻辑有问题那? ...

来源: Laya_社区 发布时间: 20180503

275. 3D 鼠标检测 错乱 [ 48%]

...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

276. 招聘 坐标:深圳南山科技园 可将简历发送至以下邮箱:elaine@dawx.com [ 47%]

...的坐标转换问题 怎样获取鼠标/触摸当前坐标 获得节点在stage中的坐标 3D模型的原点不在模型的中心上,这种情况该如何获取一个3D模型的中心点坐标? spine骨骼动画如何获取某个骨骼的坐标 问题状态 最新活动: 2018-03-07 10:40 浏...

来源: Laya_社区 发布时间: 20180307

277. TypeError: Cannot read property '_addRenderObject' of undefined [ 47%]

...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

278. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 47%]

...对应的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

279. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 46%]

...对应的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

280. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 46%]

...对应的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