大约有 232 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0319 秒)
...0 constructor() { super() this._init() } private _init() { this.cacheAs = "bitmap" this.size(this.DEF_SIZE,this.DEF_SIZE) this.pos(200,200) this.cacheAs = "bitmap" this.graphics.drawPie(this.DEF_SIZE >> 1, this.DEF_SIZE >> 1, this.DEF_SIZE >> 1,-90,this.startY,'#ff0000') this.$circ...
来源: Laya_社区 发布时间: 20180123
...exture=new Texture(Browser.window.sharedCanvas); if (texture) { // texture.bitmap.alwaysChange=true; //小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0,texture.width,textur...
来源: Laya_社区 发布时间: 20180725
...aredCanvas, true); var texture = new Laya.Texture(texture2D); //texture.bitmap.alwaysChange = true; rankList.graphics.drawTexture(texture, 0, 0, sharedCanvas.width, sharedCanvas.height); 2018-10-02 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被...
来源: Laya_社区 发布时间: 20181001
...eStartView,"GameStartView", GameStartUI); 输出:Button {toggle: false, _bitmap: AutoBitmap, _text: Text, _strokeColors: null, _state: 0…} 其中为什么on事件无法触发,该怎么样写?谢谢! 2018-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180213
...后还未放入舞台时会有计算顶点数么? 又或是sprite.cacheAs='bitmap';这个有关? Laya_Aaron • 2018-06-13 11:28 cacheas 这个和drawcll 有关,可能有关 你就加了几个sprite 做了一些操作 有很多? 改动一下就能定位到问题。 Laya_Aaron • 2018-06-13 10:1...
来源: Laya_社区 发布时间: 20180613
...w RenderTarget2D(w, h)); if (!t.bitmap || t._w != w || t._h != h || t._surfaceFormat != surfaceFormat || t._surfaceType != surfaceType || t._depthStencilFormat != depthStencilFormat || t._mipMap != mipMap || t._repeat != repeat || t._minFifter != minFifter ...
来源: Laya_社区 发布时间: 20180505
...or: Cannot read property '_glTexture' of undefined _i32b[2]=isloaded?value.bitmap._glTexture.id:0; ^^ TypeError: Cannot read property '_glTexture' of undefined at Sprite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ...
来源: Laya_社区 发布时间: 20190302
...复被折叠 要回复问题请先登录 发起人 柒汐夜 相关问题 Bitmap引用计数的问题 为何纹理的加载使用没有引用计数管理起来,单一复用? 3d资源引用计数经常不正确,导致使用Resource.destroyUnusedResources()出错 texture的引用计数是如何...
来源: Laya_社区 发布时间: 20201103
...dReference){ value._addReference(this._referenceCount) } 又报:this._bitmap._addReference is not a function 同上依次改之。 不报错之后,开发域任然不显示。 使用同一个开发域代码(myContext.zip),在laya1.0里面则能正常显示。 请官方指教...
来源: Laya_社区 发布时间: 20181222
...wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor = '#000000'; //txt.stroke = 2; txt.width = _width; txt.autoSize = _autoSize; txt.wordWrap = _wordWrap; txt.ID = _I...
来源: Laya_社区 发布时间: 20161118