大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2051) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(37) Laya_示例(36) Laya2.0_示例(15)
...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...
来源: Laya3.0_api 发布时间: 20231115
...a.loader.on(Event.ERROR, this, onError); private function onAssetLoaded(texture:Texture):void{ //console.log("111: "); txt.visible=false; title = new Sprite(); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20171001
...er.load(url, { type: Laya.Loader.TEXTURE2D, propertyParams: { premultiplyAlpha: true, // 不预乘alpha filterMode:...
来源: Laya_社区 发布时间: 20250819
...系统下 blendMode='lighter' 图片异常 IDE1.7.8 json图集加载问题 Texture图片能否进行翻转? 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 为什么有的图片打包,有的图片不打包? 如图 如何获取图片每个像...
来源: Laya_社区 发布时间: 20170220
...ds cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建...
来源: Laya3.0_api 发布时间: 20231102
...10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture(htmlCanvas); var b:Sprite = new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-1...
来源: Laya_社区 发布时间: 20181113
...ss(myShaderSprite, "myShaderSprite", _super); /* 初始化此类 texture纹理对象 vb顶点数组 ib顶点索引数组 */ myShaderSprite.prototype.init = function(texture,width_Size,height_Size,vb,ib){ this.vBuffer = Laya.VertexBuffer2D.create(); this.iBuffer = Laya.IndexBuffer2D.create(...
来源: Laya_社区 发布时间: 20180619
...= Laya.Sprite; this.ape = new Sprite(); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(apePath); this.ape.graphics.drawTexture(texture); this.ape.x = (Laya.stage.width - texture.width) / 2; this.ape.y = (Laya.stage.height - texture.height) / 2; } applayFilter() { // 创建一个模...
来源: Laya2.0_示例 发布时间: 20251209
...; i < splitArr.length; i++) { var te:Texture = _sources[splitArr[i]] as Texture; if (_align != "right") { this.graphics.drawTexture(te, i * te.width, 0, te.width, te.height); ...
来源: Laya_社区 发布时间: 20170601
...合集中的话可以在资源预加载后添加以下两行代码: var texture:Texture = Laya.loader.getRes(e.url); texture.bitmap.enableMerageInAtlas = false; 2017-10-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 FearWood 相...
来源: Laya_社区 发布时间: 20171031