• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,663 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0060 秒)

2481. 图片使用pivotX参数后,再对图片添加遮罩会出现效果不对。 [ 46%]

...showall";         Laya.stage.bgColor = "#232628";         Laya.loader.load("../../res/bg2.png", Handler.create(this, setup));     })();     function setup()     {         var bg = new Sprite();         bg.loadImage("../../res/bg2.png");         Laya.stage.addCh...

来源: Laya_社区 发布时间: 20170826

2482. laya.events.EventDispatcher_API3.0 [ 46%]

...y EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState AnimatorState2D Physics AnimationPlayer AxiGamepad ButtonGamepad WebXRInput WebXRSessionManager Accelerator Shake Gyroscope Socket TimeLine Index Methods event hasListener off offAll offAllCaller on once ...

来源: Laya3.0_api 发布时间: 20231115

2483. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 46%]

... ```typescript // A plane receive shadow. var grid = scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1...

来源: Laya2.0_文档 发布时间: 20210715

2484. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 46%]

...lor=this._strokeColors[index]; } } __proto.changeClips=function(){ var img=Loader.getRes(this._skin); if (!img){ console.log("lose skin",this._skin); return; }; var width=img.sourceWidth; var height=img.sourceHeight / this._stateNum; img.$_GID || (img.$_GID=Utils.getGID()); var key=img.$_GID+"-"+thi...

来源: Laya_社区 发布时间: 20170516

2485. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 46%]

...Enter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this...

来源: Laya_社区 发布时间: 20180905

2486. "加载模型时出现LoaderManager:unknown file(E:/layaprj/layascene/bin/null path) extension with: null." [ 46%]

"加载模型时出现LoaderManager:unknown file(E:/layaprj/layascene/bin/null path) extension with: null." unity 5.6 ide:1.7.10 tool:1.6.0 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 Monica - 知...

来源: Laya_社区 发布时间: 20171016

2487. Laya2.6 vscode 编译错误 [ 46%]

...next_tick.js:61:11)     at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)     at startup (internal/bootstrap/node.js:283:19)     at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) ——————————————————————————————...

来源: Laya_社区 发布时间: 20200509

2488. 微信的缓存引擎只支持了图片和声音,其他lh,lm等文件自动缓存时都不支持是缓存的时候有什么问题和难点吗? [ 46%]

...存的方式缓存资源,但是缓存借口不支持数组和我已有的loader代码没有配合性。问题二请问在laya里面调用那些借口获取已经缓存的文件目录大小,以便我手动控制缓存大小 linchenrr • 2018-06-22 11:43 @shiyang12345:曾经提过建议,但是...

来源: Laya_社区 发布时间: 20180621

2489. 分享:Panel下动态修改子容器宽高并刷新显示! [ 46%]

...载资源,此处添加button和panel垂直滚动条的皮肤使用 Laya.loader.load(['button-4.png','ui/vscroll.png','ui/vscroll$bar.png','ui/vscroll$down.png','ui/vscroll$up.png'],Handler.create(this,start)); } private function start():void { var panel:Panel=new Panel();//添加panel,切忌要...

来源: Laya_社区 发布时间: 20170601

2490. 发现了一个资源路径引起得bug,组件Animation得属性source里面得图片不能正确被加载 [ 46%]

...beta有bug,帧属性面板打不开 富文本下划线绘制bug 请问下loader如何强制加载一个文件,避免浏览器的缓存 List滑动条会引起单元格上的按钮点击后多次触发点击事件 LayaAir2.61 测试版 物理引擎bug 百分百 复现 自从layaflash起,就一...

来源: Laya_社区 发布时间: 20171102