大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...ImageData setKTXData setPixelsData setSubPixelsData destroyUnusedResources load Constructors constructor new Texture2D(width: number, height: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): Texture2D Overrides BaseTexture.constructor De...
来源: Laya3.0_api 发布时间: 20231115
...辑代码? 加载角色 一张人物图片被分成了3个部位 这个load只能传一个地址 请问怎么一起加载 U3D里正常循环的粒子特效 在LAYA里出现卡顿 跳帧 求解决办法 开放域的字体很糊 没有背景图片的字更加的糊 请问大佬有没有解决的办...
来源: Laya_社区 发布时间: 20170303
...onClipParser02.parse (laya.d3.js:222) at AnimationClip.__proto.onAsynLoaded (laya.d3.js:22407) at ResInfo.onLoaded (laya.core.js:12995) at EventHandler.__proto.runWith (laya.core.js:711) at ResInfo.__proto.event (laya.core.js:483) at LoaderManager.__proto._endLoad (laya...
来源: Laya_社区 发布时间: 20190520
...ty添加相同材质显然不会出现这种情况) Laya.Texture2D.load("res/skin/2.jpg",new Laya.Handler(this,this.loadfinish));//加载贴图 loadfinish(tex){ var mat=new Laya.UnlitMaterial();//创建材质 mat.albedoTexture=tex;//给材质添加贴图 //mat.albedoColorA = 0.5; //透明度...
来源: Laya_社区 发布时间: 20200626
... let tex: Laya.Texture = new Laya.Texture(); tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{ tex.getPixels(0,0,1,1); })); 附件 : --> 2019-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20190625
...kAt的用法 关于几种文本的区别与用法 Laya.URL.basePath与Laya.loader.load用法 Animation用法疑问 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 请问关于遮罩的用法,在哪块可以找到? scaleMode 在微信小游戏IDE上正常 在IOS端不正常,...
来源: Laya_社区 发布时间: 20170622
...法添加新回复 发起人 15818760256 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 分享一个TS版本的3D2D结合的单机斗地主Demo 一个3D正方体模型...
来源: Laya_社区 发布时间: 20171123
...; Laya.stage.bgColor = "#232628"; this.h1 = Laya.Handler.create(this, this.loadPicComplete, null, true); Laya.loader.load("res/img/1.png", this.h1); } private loadPicComplete(): void { Laya.timer.once(2000, this, this.actT); } private actT(): void { this.h2 = Laya.Handler.create(this, this.loadPicCo...
来源: Laya_社区 发布时间: 20171221
...没有问题 主要原因是如下代码执行出现问题private function loadconfig():void{ trace("---------------loadBaseConfAfterGame"); Laya.loader.load( temploaArr, Handler.create(this,loadAllBaseConfFun,[_afterGameConfigArr])/*,progressHandler*/); } private function loadAllBaseConfFun(configU...
来源: Laya_社区 发布时间: 20170804
...加载资源 例如var resarray = [ {"url":"res/atlas/common.json","type":Loader.ATLAS}, ]; Laya.loader.load(resarray, Handler.create(this, this.preloadLoaded), Handler.create(this, this.onProgress,null,false)); 这个时候这个资源是通过app本地加载还是网上加载的? 2.dcc 有之前...
来源: Laya_社区 发布时间: 20161204