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

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

241. laya.utils.Stat [ 46%]

...布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Public Properties PropertyDefined By  canvasBitmap : int = 0[static] 画布 canvas 使用位图渲染的次数。Stat  canvasNormal : int = 0[static] 画布 canvas 使用标准渲染的次...

来源: laya_api 发布时间: 20170929

242. 性能统计面板介绍(ActionScript-2D进阶篇(AS3)-性能优化) [ 46%]

... / `缓存类型为“normal”类型的画布数量` / `缓存类型为“bitmap”类型的画布数量`。 ![图5](img/5.png) (图5) **Tips**:关于CacheAs的更多优化介绍,可以查看文档《CacheAs静态缓存优化》

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

243. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 45%]

...re2D = new Texture2D(); texture2D["onAsynLoaded"](""+Math.random(),texture.bitmap); createTextureCallBack.call(callbackThis,texture2D); }3. 最终的调用: public function init(){ var s:sprite = create_a_big_sprite(); Laya.timer.once(250,this,function():void{ GameUtil.createTexture(s,onTexture2DR...

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

244. Maximum call stack size exceeded [ 45%]

... 真机环境找不到window---cant find variable: window stack Error: asBitmap no size! 微信真机下游戏MAX_TEXTURE_SIZE FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Cannot ...

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

245. 关于微信小游戏渲染子域图的问题 [ 45%]

...); var texture:Texture = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.he...

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

246. laya3d场景使用图集里的图片,显示的是整个图集资源图片 [ 44%]

...clip, 我不清楚3d,有没有。 getRes图集里的小图, texture 里bitmap值就是大图纹理对象。 将这个加载到albedoTexture 就是显示大图。 如果是我的使用方式的问题, 麻烦您给我一个使用demo, 我单独加微信给你发红包。 邓中强 • 2019-07-...

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

247. laya.d3.resource.TextureCube [ 44%]

...sspublic class TextureCubeInheritanceTextureCube BaseTexture laya.resource.Bitmap TextureCube 类用于生成立方体纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  defaulteTexture ...

来源: Laya2.0_api 发布时间: 20190513

248. laya.utils.Stat [ 44%]

...布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Public Properties PropertyDefined By  canvasBitmap : int = 0[static] 画布 canvas 使用位图渲染的次数。Stat  canvasNormal : int = 0[static] 画布 canvas 使用标准渲染的次...

来源: Laya2.0_api 发布时间: 20190513

249. 分享:DrawToCanvas内存释放问题! [ 44%]

...域的texture this._texture = new Laya.Texture(this._htmlC); this._texture.bitmap.enableMerageInAtlas = false; this.zoomImg.graphics.clear(); this.zoomImg.graphics.drawTexture(this._texture, 0, 0, RouletteTableScene.ZOOM_W * 0.5, RouletteTableScene.ZOOM_TARGET_H * 0.4);   2017-10-31 0 0 分享 微...

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

250. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 43%]

...or1.png"); _colorSpr.graphics.drawTexture(_colorTex); _colorSpr.cacheAs = "bitmap"; _colorSpr.pos((1024 - _colorTex.width) >> 1, (768 - _colorTex.height) >> 1); _colorSpr.size(_colorTex.width, _colorTex.height); Laya.stage.addChild(_colorSpr); _initPixelCount = getPixel(_colorTex); addEv...

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