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

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

1821. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 50%]

...articleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

1822. Oppo加载.ls资源错误 [ 50%]

...ader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_re...

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

1823. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 50%]

...his.skeleton["_renderType"] !== undefined) {         this.spr_xiaoshan.addChild(this.skeleton);         this.skeleton.pos(0, 0);         this.skeleton.scale(0.3, 0.3);         this.skeleton.play(0, true);     } else {         console.warn("无效的 skeleton, 跳过添加:", te...

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

1824. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 50%]

....bold = true;         ti.color = "#606368";         Laya.stage.addChild(ti);         return ti;     } })(); 附件 : --> TSET.zip 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya...

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

1825. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 50%]

... 错误代码: ERROR: Uncaught TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0        [ERROR] (/opt/...

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

1826. 通过绘制纹理生成的图片,改变scale时会出现图片不绘制的情况 [ 50%]

...hics.drawTexture(new Laya.Texture(b));             Laya.stage.addChild(sp);             let _picScale:number=1;             //每点一下就缩小0.05倍             Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{                 _...

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

1827. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

... = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void ...

来源: Laya3.0_文档 发布时间: 20251010

1828. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 50%]

...ew Laya.Sprite(); ball_sprite.loadImage("common1/btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示  var ballOptions = { layaSprite:ball_sprite,                 render:                ...

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

1829. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 50%]

...);             this.mAnimaCur.interval = 100;             this.addChild(this.mAnimaCur);         }         var loop = true;         if (anaimaname == WEAPON_ANIMA_FIRE)         {             this.mAnimaCur.interval = 60;             loop = false;         }...

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

1830. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 50%]

...t-Teapot001.lm", Laya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMate...

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