大约有 678 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(427) Laya2.0_文档(65) Laya3.0_api(61) Laya2.0_api(57) Laya_示例(44) Laya3.0_文档(20) laya_api(4)
...完毕,此方法只执行一次 */ onAwake(): void { this.txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txt.size(500, 30); //大小 this.txt.pivot(this.txt.width/2, this.txt.height/2); //轴心点 this.txt.text = "大家好,欢迎各位开发者使用LayaAir I...
来源: Laya3.0_文档 发布时间: 20251010
... 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Laya.stage报null 问题状态 最新活动: 2020-09-04 11:33 浏览: 560 关注: 2 人
来源: Laya_社区 发布时间: 20200826
... Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox....
来源: Laya3.0_api 发布时间: 20231115
...ext(); txt.mouseEnabled = false; txt.overflow = Text.SCROLL; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.color = "#FF9632"; Laya.stage.addChild(txt); var test:Object = JSON.parse('{"id": 0, "name": "Chen"}'); traceMsg(test['id']); trace...
来源: Laya_社区 发布时间: 20180227
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...
来源: Laya3.0_api 发布时间: 20231102
...换3D坐标的处理。 2、在camera.viewportPointToRay方法中,是将stage的宽高作为视口宽高,使得视口近裁面是从stage的宽高进行坐标转换的。 3、目前没收到反馈在viewpointToRay方法转换错误的情况,目前也在getSprite3DUnderPoint方法中做了画...
来源: Laya_社区 发布时间: 20240613
...此容器作为物理世界坐标世界,进行坐标变换,默认值为stage * 设置特定容器后,就可整体位移物理对象,保持物理世界不变*/ public function get worldRoot():Sprite { return _worldRoot || Laya.stage; ...
来源: Laya_社区 发布时间: 20181122
...hysics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].enable(); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; //打开调试面板(通过IDE设置调试模式,或者url地址增加debug=true参数,均可打开调试面板) if (GameConfig.de...
来源: Laya2.0_文档 发布时间: 20210715
...的情况下,转换出来的坐标不正确 _scene3d = new Scene(); Laya.stage.addChild(_scene3d); _camera3d = new Camera(0, 0.1, 300); _scene3d.addChild(_camera3d); _camera3d.transform.translate(new Vector3(0, 0, 150)); _camera3d.clearColor = null; _camera3d.orthographicProjection = true; _camera...
来源: Laya_社区 发布时间: 20161226
... 测试代码为: var scene = Laya.Scene.load("res/testScene.ls"); Laya.stage.addChild(scene); 真机预览报错为: request:fail invalid url "res/testScene.ls" 测试机型为:iPhoneX 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180312