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

大约有 297 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

11. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 94%]

...LongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", "res/threeDimen/skinModel/BoneLinkScene/PangZiNoAni.lh", "res/threeDim...

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

12. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 93%]

...LongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", "res/threeDimen/skinModel/BoneLinkScene/PangZiNoAni.lh", "res/threeDim...

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

13. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 92%]

... 微信主域代码: Laya.timer.once(400,this,function():void{ var rankTexture:Texture = new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.hei...

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

14. worker.js 使用问题 [ 92%]

...text': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Texture2D.__proto.activeResource (laya.core.js:13234)     at Texture2D.<anonymous> (laya...

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

15. 1.7.18beta少方法? [ 92%]

...WebGL.mainContext; var preTarget:* = WebGLContext.curBindTexTarget; var preTexture:* = WebGLContext.curBindTexValue; WebGLContext.bindTexture(gl, WebGLContext.TEXTURE_2D, _source); //由于HTML5中Image不能直接获取像素素数,只能先画到Canvas上再取出像素数据,再分别texSubImag...

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

16. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 91%]

...s.bitmap.activeResource is not a function     使用代码如下:var rankTexture:Texture = new Texture(Laya.Browser.window.sharedCanvas); var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image);     附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 ...

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

17. Laya能不能把底层的代码做好一点儿? [ 91%]

Laya能不能把底层的代码做好一点儿? 以Texture为例,如下图所示。Texture构造函数所需一个Bitmap类型。 既然所需一个Bitmap类型,那么在Texture里面的属性就应该明确类型为Bitmap。 既然接收的是一个Bitmap的类型,那么你们为何要在T...

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

18. cache bitmap size larger than 2048,cache ignored [ 90%]

...合适 请问Native下,怎么将二进制的图片转换为bitmap或者texture? 将ui设置为bitmap,当鼠标悬浮在button上时,会导致ui重绘,有什么方法能避免吗? button就是一张静态图+文本,不需要选中按下等状态 Maximum call stack size exceeded 微信...

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

19. cache bitmap size larger than 2048,cache ignored [ 89%]

...合适 请问Native下,怎么将二进制的图片转换为bitmap或者texture? 将ui设置为bitmap,当鼠标悬浮在button上时,会导致ui重绘,有什么方法能避免吗? button就是一张静态图+文本,不需要选中按下等状态 Maximum call stack size exceeded 微信...

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

20. laya.resource.Texture_API3.0 [ 89%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourc...

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