大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(854) Laya2.0_文档(116) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(54) Laya2.0_示例(8) Laya_示例(6)
...w Laya.Animation(); roleAni.loadImages(); roleAni.play(); Laya.stage.addChild(roleAni); 这样就会报路劲错误 var urls = [ 'img/food/f1.png', 'img/food/f2.png', 'img/food/f3.png', 'img/food/f4.png', 'img/food/f5.png', 'img/food/f6.png', 'img/food/f7.png', 'img/food/f8.png', 'img/f...
来源: Laya_社区 发布时间: 20170718
...his.bt=new bitmapimg(url); this.sp.addChild(this.bt) }else{ this.bt.url=url; } } this.flag=true; ...
来源: Laya_社区 发布时间: 20181201
...open打开方式出现这种异常,如果使用以前的直接laya.stage.addChild(继承ui的类实例)这种方式不会出现这种异常bug 。。。。。 附件 : --> laya3.zip 2018-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20181024
...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
...erData.username,0,0,gui.imgPhoto.width,gui.imgPhoto.height ); gui.imgPhoto.addChild(photo); gui.imgPhoto.mask=mask;载入的头像在浏览器ok,在真机构建的app上就有问题,真机上如果没mask,头像正常,如果加了mask,就不显示头像,显示一个黑色的小方块 201...
来源: Laya_社区 发布时间: 20160802
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...
来源: Laya3.0_api 发布时间: 20231115
...g:Laya.Image = new Laya.Image(); img.skin = "comp/img_pro.png"; Laya.stage.addChild(img); var imgMask:Laya.Image = new Laya.Image(); imgMask.skin = img.skin; imgMask.scaleX = 0; // 无效 // imgMask.scaleX = 1 // 有效 //imgMask.scaleX = 0.5 // 有效 img.mask = imgMask; imgMask.repaint(); } } new ...
来源: Laya_社区 发布时间: 20170327
...020-05-15 01:43 浏览: 3332 关注: 9 人 彪 • 2020-04-06 10:50 小球.addChild(摄像机) 微笑着拒绝 • 2020-04-14 20:44 大佬,你这个摄像机是怎么实现跟随刚体的呢,求帮助... 时光机器 • 2019-10-20 08:48 怎么才能同步呢?放同父物体下会导致摄像头...
来源: Laya_社区 发布时间: 20190528
...使用,非常费,每帧刷新 sp.graphics.drawTexture(canvas); layout.addChild(sp); } /** * 清除开放域数据 */ function clearDrawOpenData(layout: Laya.Sprite) { if (layout) { layout.destroyChildren(); } } 你这报的错很可能是JSON错了 2019-03-28 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20190328
...: " + imageHtml.contextWidth + ", " + imageHtml.contextHeight); Laya.stage.addChild(imageHtml); 上述代码在Laya中运行 正确显示了 图片 控制台输出: size: 200, 200 contextSize: 0, 0 如何获取真实大小? 2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20171118