大约有 457 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(248) Laya2.0_api(64) Laya3.0_api(62) laya_api(56) Laya2.0_文档(19) Laya3.0_文档(5) Laya2.0_示例(2) Laya_示例(1)
...域的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
...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
...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
...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
...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
...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
...态图像,能极大提高渲染性能。cacheAs有"none","normal"和"bitmap"三个值可选。 默认为"none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存...
来源: laya_api 发布时间: 20170929
...YER_RANK",0) var rankTexture = new Laya.Texture(sharedCanvas); rankTexture.bitmap.alwaysChange = true; var pl = new Laya.Sprite() pl.graphics.drawTexture(rankTexture, 0, 0); body.addChild(pl) } 附件 : --> 2018-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20181217
...态图像,能极大提高渲染性能。cacheAs有"none","normal"和"bitmap"三个值可选。 默认为"none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存...
来源: Laya2.0_api 发布时间: 20190513
...etBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距...
来源: Laya2.0_api 发布时间: 20190513