大约有 523 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0097 秒)
Laya_社区(428) Laya2.0_文档(51) Laya2.0_示例(16) Laya_示例(12) Laya3.0_文档(10) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...); Laya.Browser.document.body.appendChild(script); script.innerHTML = Laya.loader.getRes(this.resourceurl + "res/main.min.js"); h5是没问题的,打包app 并没有执行main.min.js, 是打包不能用这种方式吗? 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20171113
...Build with -s ASSERTIONS=1 for more info. 代码: this.m_scene = Laya.loader.getRes(this.getScenePath()); new Laya.Scene3D() new Laya.Scene3D() 第三个new 就报错 内存已经设置到512M window['Config3D'] && (window['Config3D']['_default']['_defaultPhysicsMemory'] = 512); 附...
来源: Laya_社区 发布时间: 20190730
...prite_show = new Laya.Sprite(); this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height); 画出来的两个对象,sprite_show的图形竟然被缩小了一点点。。。都是同样的宽高 2017-11-02 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171102
玩一玩打包后安卓手机不能加载到远程资源 Laya.loader.getRes方法获取不到已经加载的资源 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你得说明...
来源: Laya_社区 发布时间: 20180611
...b第三方库 在html中引入zlib.min.js 解压配置 var arraybuffer:* = Loader.getRes(url); var bytes:ByteArray = new ByteArray(); bytes.writeArrayBuffer(arraybuffer); bytes.pos = 0; bytes.unco...
来源: Laya_社区 发布时间: 20170908
...(Resource为材质、贴图、网格等的基类)var resource = Laya.loader.getRes(arr[i].url);//资源释放resource.dispose(); Uncaught TypeError: r.dispose is not a function 这个dispose方法 没有 提示 2019-05-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20190531
...f3af-4426-bc07-848524d9beb6/timg.jpg') // console.log(123120, ape) // Laya.loader.load('res/mao.jpg', Laya.Handler.create(this, function (){ // var t = Laya.loader.getRes('res/mao.jpg') // console.log(t) // var a = new Laya.Sprite() // a.graphics.drawTexture(t, 0,0) // a.scaleX = 0.3 // a.scaleY = 0...
来源: Laya_社区 发布时间: 20180104
...享 微博 QZONE 微信 子艮 赞同来自: let sp3d = lf.addChild(Laya.loader.getRes("res/zhadan/1/LayaScene_zhadan/Conventional/zhadan.ls")) as Scene3D; let spCore = sp3d.getChildByName("Canvas") as Sprite3D; spCore.transform.localPosition = new Vector3(0, 0.7, 90); let tp3d = Sprite3D.instantiat...
来源: Laya_社区 发布时间: 20191126
...camera.transform.rotate(this.cameraRotate,false,false); this.role3d = Laya.loader.getRes("girl.lh"); this.pos.addChild(this.role3d); this.role3d.transform.translate(this.roleTrans,false); this.role3d.transform.rotate(this.roleRotate); this.parent.addChild(this.scene); this.pos.transform.tr...
来源: Laya_社区 发布时间: 20180125
...e.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); picture.on(Event....
来源: Laya_社区 发布时间: 20181022