大约有 1,616 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(986) Laya2.0_文档(192) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(28)
...oaded)) })() function onLoaded() { var cMask = new maskDemoUI() Laya.stage.addChild(cMask) } })() 附件 : --> 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 能多提供一...
来源: Laya_社区 发布时间: 20180810
...ADED有什么区别?为什么对scene不起作用 var scene = Laya.stage.addChild(new Laya.Scene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });...
来源: Laya_社区 发布时间: 20170619
...e.width >> 1, Laya.stage.height >> 1); Laya.stage.addChild(txt); Laya.Tween.to(txt, { scaleX: 2, scaleY: 2 }, 5000); 5秒钟把文本放大2倍,感觉是 fontSize在不平滑的增大,显得比较卡,有抖动 目前要达到的效果是...
来源: Laya_社区 发布时间: 20200410
...ction omTemLoaded():void { mArmature=mFactory.buildArmature(0); Laya.stage.addChild(mArmature); Laya.stage.on(Event.CLICK,this,onClick); mArmature.play(0,false);//设置初始位置 mArmature.index=this.index; mArmature.pos(500,500) } private function onClick():void { mArmature.play("stand",true);//...
来源: Laya_社区 发布时间: 20170509
...做不了 var scene:Scene=Scene.load("LayaScene_Main/Main.ls"); Laya.stage.addChild(scene); camera = Laya.stage.getChildByName("Main Camera") as Camera; ....... camera.viewportPointToRay(point, ray); 提示错误:Cannot read property 'viewportPointToRay' of null" 附件 : --> H5Dev.rar 2018-04-...
来源: Laya_社区 发布时间: 20180415
...度。 textInput.height = 200;//设置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], ...
来源: Laya3.0_api 发布时间: 20231115
...omplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("par...
来源: Laya2.0_文档 发布时间: 20210715
...e3d/LayaScene_SampleScene/Conventional/role.lh"); Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...
来源: Laya_社区 发布时间: 20200113
... 4, 0, 4]; input.restrict = "0-9";//限制输入字符为数字 Laya.stage.addChild(input); 2019-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wu语 相关问题 关于微信小游戏关系链的问题 微信关系链:LayaAir引...
来源: Laya_社区 发布时间: 20190225
...2 • 2019-12-13 19:42 @NilZ: var scene3d = new Laya.Scene3D(); Laya.stage.addChild(scene3d); var camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.ort...
来源: Laya_社区 发布时间: 20191206