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

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

41. laya.resource.AtlasResource_API3.0 [ 79%]

...ctors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event has...

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

42. BlurFilter的strength属性设置到5以上就没效果了 [ 79%]

...{    var htmlC:HTMLCanvas =_self.drawToCanvas(1334,750,0,0);    var _texture:Texture = new Texture(htmlC);    var sp2:Sprite = new Sprite();    sp2.graphics.drawTexture(_texture,0,0,1334,750);    var blurFilter:BlurFilter = new BlurFilter();    blurFilter.strength = 4;    sp2.fi...

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

43. 生成新的Texture对象 [ 79%]

生成新的Texture对象 在遮罩显示里,怎么将被遮罩的底图生成一个新的texture(显示遮罩效果后的)对象 2017-02-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...

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

44. 用ide打包后的图片,Texture显示不出来? [ 79%]

用ide打包后的图片,Texture显示不出来? Sprite和Image可以显示出来,Texture报错、、、说找不到图片   代码 : Laya.loader.load([{url: "comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); function onLoaded(){     var aa = new Sprite();     Laya.sta...

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

45. curmem 怎么进行销毁 [ 78%]

... 要回复问题请先登录 发起人 叮当(H5研发) 相关问题 Texture图片能否进行翻转? 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 怎么进行延时/延迟更新呢? 手游的时候一般...

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

46. Animation创建和销毁的问题 [ 78%]

...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false          */         public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...

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

47. Skeleton骨骼动画内存泄漏 [ 78%]

...来自: 2.0.0版本下 已经解决这个问题  修改 laya.core.js var Texture 对象里 __proto.destroy=function(){ if (!this._destroyed){ this._destroyed=true; if (this.bitmap){ this.bitmap._removeReference(this._referenceCount); if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // co...

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

48. Texture.destroy()方法设计有问题 [ 78%]

Texture.destroy()方法设计有问题 在不通过使用强制销毁的情况下 引用系数会多减去一次。Resource.removeReference()多调用一次 2018-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

49. laya.resource.Texture2D_API3.0 [ 77%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture erro...

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

50. LayaAirUnityPlugin_beta 不显示texture setting [ 77%]

LayaAirUnityPlugin_beta 不显示texture setting 按照2.0文档步骤,unity5.6.6安装LayaAirUnityPlugin_beta 后不显示texture setting 等内容。 2018-10-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...

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