大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...修改,代码如下: set localRotationEulerX(value) { var localEuler = this.localRotationEuler; localEuler.x = value; this.localRotationEuler = localEuler; } 2021-09-09 0 1 分享 微博 QZONE 微信 柠檬_酸 赞同来自: 后续补充: 2021-08-08 0 0 分享 微博 QZONE 微信 Laya_小小...
来源: Laya_社区 发布时间: 20210808
...画 skeleton.load("anims/lhd/anim_lhd.sk"); skeleton.on(Laya.Event.CLICK,this,this.onEnterRoomLHD) 2019-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20190609
...er.load( loadList, Laya.Handler.create(this, () => { var label=this.owner.getChildByName("time") as Laya.Label; label.text=((Date.now() - nt) / 1000 + "秒"); }) ); 测试环境H5...
来源: Laya_社区 发布时间: 20240628
全屏请求问题!!!求救啊!!求救啊!! this.fullScreen_btn.on(Laya.Event.CLICK, this, this.onFullScreen, null); _proto.onFullScreen = function () { toggleFullscreen(); }; function launchIntoFullscreen(element) { var element = document.documentElement; if (element.reque...
来源: Laya_社区 发布时间: 20190715
...回调还是获取不到 tl.loadAnimation("s.ani", Laya.Handler.create(this, () => { var bounds = tl.getGraphicBounds(); console.log(bounds.width) }, [tl])); 还是0 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hill...
来源: Laya_社区 发布时间: 20180124
...邀请: 与内容相关的链接 提交 1 个回复 赵滔 赞同来自: this._skeleon.play(0); //需要设置一次先才能获取大小 var boundsW: number = skeleon.getBounds().width; var boundsH: number = skeleon.getBounds().height; 2019-06-17 0 0 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20190606
...ya.loader.load("resources/layabox.png", Laya.Loader.IMAGE).then(() => { this.setMesh2DRender(); }); } // 配置2D网格渲染器 setMesh2DRender(): void { let mesh2Drender = this.layaMonkey.getComponent(Laya.Mesh2DRender); // 添加网格 mesh2Drender.sharedMesh = this.generateCircleVerticesAndUV...
来源: Laya3.0_文档 发布时间: 20251120
...fInfo.buffer, BuffInfo.width, BuffInfo.height, '' + openID, '.png'); this.imgHead.skin = '' + openID + '.png'; 2018-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 TsubasaYeung 相关问题 请问有没有方法能够获取“...
来源: Laya_社区 发布时间: 20180417
...640,1027); Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS)})(); function onLoaded(){ var karaok = new Karaok(); // new出来的内存 如何主动销毁? } })(window.LayaSample || (window.LayaSample={})); 2017-02-23 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20170223
...aya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210714