大约有 807 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya_社区(472) Laya3.0_api(132) Laya2.0_api(81) laya_api(63) Laya2.0_文档(28) Laya3.0_文档(15) Laya_示例(13) Laya2.0_示例(3)
...属性,报错位置在WebGLContext.__init__ ();中 断点发现 在类Render 的 initRender 方法中 getWebGLContext 总返回null; 附件已上传 附件 : --> wxgame.zip 2022-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20220616
...来自: 在index.html中加入下面两句话就可以了 <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 2017-03-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhan...
来源: Laya_社区 发布时间: 20170117
...太麻烦了,我直接找到LayaAirIDE\resources\app\out\vs\layaEditor\renders\editorui2.0这个文件,把__class(HtmlText,'laya.editorUI.HtmlText');这句话改成__class(HtmlText,'laya.editorUI.HtmlText',_super);就没问题了
来源: Laya_社区 发布时间: 20191028
...//F:/client_svn/h5/bin/libs/laya.webgl.js:4963:32) at SubmitCanvas.__proto.renderSubmit (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:6294:18) at WebGLContext2D.__proto.submitElement (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:4954:30) at WebGLContext2D.__proto.flush (file:///F:/client_svn/h...
来源: Laya_社区 发布时间: 20171111
...middle"; Laya.stage.scaleMode = "fixedwidth"; console.log("iswebgl:", Laya.Render.isWebGL); } public Load() { Laya.loader.load(NewTest.url, null, null, null, 0, true); } public Unload() { Laya.loader.clearRes(NewTest.url); } } window["test"] = new NewTest(); window["test"].Load(); Laya.timer.o...
来源: Laya_社区 发布时间: 20181018
...断当前渲染模式是WebGL还是Canvas? 引擎初始化之后判断 Render.isWebGL 是true还是false。true:WebGL模式,false:Canvas模式。 WebGL下设置背景透明代码://设置画布是否透明,只对2D(WebGL)、3D有效 Config.isAlpha = true; //初始化引擎 Laya.init(8...
来源: Laya_社区 发布时间: 20170414
...verWebAudio(); url=URL.formatURL(url); if (url!=SoundManager._tMusic){ if (Render.isConchApp){ var ext=Utils.getFileExtension(url); if (ext !="wav" && ext !="ogg"){ alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."...
来源: Laya_社区 发布时间: 20181019
...js:22144) at Stage._updateTimers (laya.core.js:17717) at Stage.render (laya.core.js:17679)(env: Windows,mg,1.05.2110152; lib: 2.20.2) 附件 : --> 2021-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...
来源: Laya_社区 发布时间: 20211207
...URL(url); if (url == _tMusic) { if (_musicMuted) return null; } else { if (Render.isConchApp) { var ext:String = Utils.getFileExtension(url); if (ext != "wav" && ext != "ogg") { alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official websi...
来源: Laya_社区 发布时间: 20190115
...ntationAll Packages | All Classes | Index | Frames No Frames ParticleRenderProperties | Methods Packagelaya.d3.coreClasspublic class ParticleRenderInheritanceParticleRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properti...
来源: laya_api 发布时间: 20170603