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

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

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

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

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

252. 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

253. 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

254. 分享: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

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

...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

256. 新手引导在ios浏览器表现异常 [ 43%]

...w Laya.Sprite();             this.guideContainer.cacheAs = "bitmap";             this.addChild(this.guideContainer);             let maskArea = new Laya.Sprite();             maskArea.alpha = 0.5;             maskArea.graphics.draw...

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

257. Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 [ 43%]

...getRes(resUrl) as Laya.Texture;                     tex.bitmap = bit;                 });                 this.onResLoadFinish(bit);             }),null,"htmlimage",1,false,null,true); 2020-03-18 0 1 分享 微博 QZONE 微信 为什么被...

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

258. destination-out 叠加模式问题 [ 42%]

...ssion.mapData; guideContainer=new Sprite(); guideContainer.cacheAs = "bitmap"; this.addChild(guideContainer); maskArea = new Sprite(); maskArea.alpha = 0.3; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#0ef604"); guideContainer.addChild(maskArea); //Even...

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

259. laya.d3.resource.RenderTexture [ 42%]

...blic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  currentActive :...

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

260. laya.ui.List [ 42%]

...态图像,能极大提高渲染性能。cacheAs有"none","normal"和"bitmap"三个值可选。 默认为"none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存...

来源: laya_api 发布时间: 20170929