大约有 581 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(357) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya2.0_api(22) laya_api(20) Laya3.0_文档(19) Laya2.0_示例(13)
...按照动画 -- 图集动画教程制作了人物行走图,图片是用TexturePackage导出的。但是不知道为什么图片是从第二张图片(迈出左脚的那张图片)开始的。 还有Loader.ATLAS是static] 图集类型,加载完成后返回图集json信息(并创建图集内...
来源: Laya_社区 发布时间: 20160712
...omplete)); function loadMapBGComplete():void{ var tx:Texture = Laya.loader.getRes("map/157.jpg"); this._test.source = tx; } 我这张图是913X1400没有打成图集的 我用image动态替换一个大图片时,为什么替换后那张图变成很小...
来源: Laya_社区 发布时间: 20170411
...a.loader.load("hall/111.png",Handler.create(this,function():void { var img:Texture = Laya.loader.getRes("hall/111.png"); var encode:String = Base64ImageTool.getBase64Pic(img); } 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20170613
... false); // var material = new Laya.StandardMaterial(); // material.diffuseTexture = Laya.Texture2D.load("res/qiu/6.jpg"); // box.meshRender.material = material; box.meshRender.receiveShadow=true; box.meshRender.castShadow=true; var box2 = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(10, 10...
来源: Laya_社区 发布时间: 20180717
图片通过drawTexture平铺出现缝隙 this.darwSprite = new Sprite(); this.addChild(this.darwSprite); var t: Texture = Laya.loader.getRes("load/0.png"); this.darwSprite.graphics.drawTexture(t,0,0); this.darwSprite.graphics.drawTexture(t,176,0); ...
来源: Laya_社区 发布时间: 20160718
...s://sh.mudgj.com/api/playe ... ot%3B, Laya.Loader.IMAGE ) .then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发现 qg.downloadFile 报 error { "errCode": -3, "statusCode": 404, ...
来源: Laya_社区 发布时间: 20250818
使用fairygui加载网络图片资源时,laya.core.js中的drawTexture会报错 异常栈如上图,因为fairygui依赖laya.core.js,所以最后会调用到laya.core.js中, if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }执行到这段...
来源: Laya_社区 发布时间: 20180724
...下: ```java package { import laya.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class MaskDemo { private var Res:String; private var img:Sprite; public function MaskDemo() { Laya.init(1136,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //资源路...
来源: Laya2.0_文档 发布时间: 20210714
...al: SkyPanoramicMaterial = new SkyPanoramicMaterial(); Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) { material.panoramicTexture = tex; skymat.material = material; })); 2020-03...
来源: Laya_社区 发布时间: 20200319
...anager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs/laya.core.js:13120:11) at LoaderManager.__proto.create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs...
来源: Laya_社区 发布时间: 20180328