大约有 232 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...true): void { super.destroy(true); this._bitmap && this._bitmap.destroy(); this._bitmap = null; } 2,当前资源加载完成后,回调设置皮肤资源找不到_bitmap /** * @private * 设置皮肤资...
来源: Laya_社区 发布时间: 20191024
....destroy=function(){ if (!this._destroyed){ this._destroyed=true; if (this.bitmap){ this.bitmap._removeReference(this._referenceCount); if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } this.bitmap=null; } if (this.url && this===Laya.loader.ge...
来源: Laya_社区 发布时间: 20190320
...铺 private onFrame():void{ if(this.testScrollImg){ if(this.testScrollImg._bitmap && this.testScrollImg._bitmap.source){ this.testScrollImg._bitmap.source.repeat = true; var ss:any = this.testScrollImg._bitmap.source.uv; var uv:any[] = []; uv[0] = ss[0] + 2/this.testScrollImg.width; uv[1] = ...
来源: Laya_社区 发布时间: 20180321
...kTexture=new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange=true; console.log(rankTexture) LayaUISample.scoreview.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); var rankTexture=new Texture(Browser.window.sharedC...
来源: Laya_社区 发布时间: 20180310
...D, 0, xoffset - 1, yoffset, WebGLContext.RGBA, WebGLContext.UNSIGNED_BYTE, bitmap)); (xoffset + 1 <= _w) && (gl.texSubImage2DEx(true, WebGLContext.TEXTURE_2D, 0, xoffset + 1, yoffset, WebGLContext.RGBA, WebGLContext.UNSIGNED_BYTE, bitmap)); (yoffset - 1 >= 0) && (gl.texSubImage...
来源: Laya_社区 发布时间: 20180417
...e/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties destoryedImmediately lock name url uuid video DEBUG Accessors cpuMemory destroyed gpuMemory height id obsolute referenceCount width cpuMemory gpuMemory Methods _addRe...
来源: Laya3.0_api 发布时间: 20231102
...ateQrCode(final String content, final double width, final double height) { Bitmap bitmap = createQRCodeBitmap(content, (int)width, (int)height, "UTF-8", "H", "1", Color.BLACK, Color.WHITE); if (null != bitmap) { String base64OfBitmap = bitmapToBase64(bitmap); if (null != base64OfBitmap) { base64OfBi...
来源: Laya_社区 发布时间: 20200729
...D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以在2D中,同一个图集中的多个不同 Texture 是共用的一个 Bitmap。...
来源: Laya2.0_文档 发布时间: 20210715
...目。 2.在LayaAirIDE中对上面建立的两个项目中搜索关键字bitmap._addReference,在laya.core.js中找到,如下代码: if (bitmap){ bitmap._addReference(); }将其改成: if (bitmap && bitmap._addReference){ bitmap._addReference(); } 其实就是在if...
来源: Laya_社区 发布时间: 20180529
...D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以在2D中,同一个图集中的多个不同 Texture 是共用的一个 Bitmap。...
来源: Laya2.0_文档 发布时间: 20210715