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

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

911. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 65%]

...al set ffffffff 10-13 17:31:15.861 6514-6514/com.vivo.vs I/WebViewFactory: Loading com.android.webview version 37 (eng.compiler-arm64) (code 199992) 10-13 17:31:15.861 6514-6514/com.vivo.vs I/LibraryLoader: Loading: webviewchromium 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Time to lo...

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

912. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 64%]

...BlinnPhongMaterial = new BlinnPhongMaterial(); //漫反射贴图 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置材质纹理 material.albedoTexture = texture; })); //material.albedoTexture earth2.meshRenderer.material = material; ``...

来源: Laya2.0_文档 发布时间: 20210714

913. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 64%]

...al = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; //加载3D资源 Laya.loader.create(["res/LayaScene_girl/girl.lh"],Laya.Handler.create(this,this.on3DComplete)); } /*加载3D资源完成回调*/ private on3DComple...

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

914. 滤镜-颜色滤镜 [ 64%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } normalizeApe() { let originalApe = this.createApe(); originalApe.x = (Laya.stage.width - ap...

来源: Laya2.0_示例 发布时间: 20260303

915. 1.7.9LayaIDE 发布出现Cannot find module 'colors'错误 [ 64%]

...at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/private/var/folders/g5/h6n06svn2z315kkr_yd3sl340000gn/T/AppTranslocation/00AE3A00-14A8-45D8-BBAE...

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

916. 疑似clearRes内存泄漏问题 [ 64%]

...增。 【问题如下】: 问题1:clearRes释放资源之后,Laya.loader.load重新加载同一个资源为什么GPUMemory会不停的增加? 问题2:Laya.loader.clearRes之后,GPUMemory为什么不降低,如果clearRes不会释放内存,那这个接口的作用是什么? 【Demo...

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

917. 分享:Dragonbones/Spine的换肤操作 [ 64%]

...al';//竖屏显示 templete=new Templet();//实例化动画模板 templete.loadAni('DragonDragon/DragonDragon.sk');//加载龙骨动画数据 templete.on(Event.COMPLETE,this,onPleteComed);//数据解析完成后的调度事件。 } private function onPleteComed():void { skeleton=templete.buildArmatu...

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

918. 微信开放数据域(TypeScript-小游戏适配文档-微信小游戏) [ 64%]

...``typescript if(Laya.Browser.onMiniGame){ //加载一个json和图集 Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用...

来源: Laya2.0_文档 发布时间: 20210715

919. 微信小游戏开放域(ActionScript-小游戏适配文档-微信小游戏) [ 64%]

...。 ```typescript if(Browser.onMiniGame){ //加载一个json和图集 Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Handler.create(this,function(){ //加载完成 //使用接口将图集透传到子域 MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将jso...

来源: Laya2.0_文档 发布时间: 20210715

920. 微信小游戏开放域(JavaScript-小游戏适配文档-微信小游戏) [ 64%]

...``typescript if(Laya.Browser.onMiniGame){ //加载一个json和图集 Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用...

来源: Laya2.0_文档 发布时间: 20210715