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

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

391. laya.display.BitmapFont_API3.0 [ 80%]

...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...

来源: Laya3.0_api 发布时间: 20231115

392. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 80%]

...n#endif\n\nvarying float v_Discard;\nvarying vec4 v_Color;\nvarying vec2 v_TextureCoordinate;\nuniform sampler2D u_texture;\nuniform vec4 u_Tintcolor;\n\n#ifdef RENDERMODE_MESH\n  varying vec4 v_MeshColor;\n#endif\n\n#ifdef FOG\n   varying vec3 v_PositionWorld;\n uniform vec3 u_CameraPosition;...

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

393. 闪屏,报错信息如下 [ 80%]

...,报错信息如下 02-05 16:53:06.997 24700-24824/? E/chromium: [ERROR:texture_manager.cc(2971)] [.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c8dec00]...

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

394. 清理资源相关问题! [ 80%]

...然后设置enableMerageInAtlas = false即可。 代码如下所示:var texture:Texture = Laya.loader.getRes(url); texture.bitmap.enableMerageInAtlas = false;     2017-08-21 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

395. [LayaAir3]Laya.loader 加载png图片失真 [ 80%]

...er.load(url, {                             type: Laya.Loader.TEXTURE2D,                             propertyParams: {                                 premultiplyAlpha: true,    // 不预乘alpha                                 filterMode:...

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

396. 如何使用rendertexture获取相机渲染的动态图片? [ 80%]

如何使用rendertexture获取相机渲染的动态图片? 具体的需求是camera获取到的rendertexture属性,然后想赋值给一个图片,可以动态的反应相机渲染到的图片的动态改变。最好能给出教程或者代码实现,因为Laya的资料实在是太少了... 20...

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

397. [求助]无法使用loader预先加载 [ 80%]

...a.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();             Laya.stage.addCh...

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

398. 怎么加载网络上的图片 [ 80%]

...系统下 blendMode='lighter' 图片异常 IDE1.7.8 json图集加载问题 Texture图片能否进行翻转? 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 为什么有的图片打包,有的图片不打包? 如图 如何获取图片每个像...

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

399. LayaNative2.0 beta3 单像素图片平铺绘制失败 [ 80%]

LayaNative2.0 beta3 单像素图片平铺绘制失败 var tex:Texture = Laya.loader.getRes("res/repeattest.png");// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正...

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

400. laya.net.LoaderManager_API3.0 [ 80%]

...ds cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建...

来源: Laya3.0_api 发布时间: 20231102