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

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

621. convert3DCoordTo2DScreenCoord 当3dcamera有旋转的情况下,转换出来的坐标不正确 [ 46%]

...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; _camera3d.transform.rotationEuler = new Vector3(Tools.A2R(-30), ...

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

622. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 46%]

...estOptions); if (response.status >= 200 && response.status < 300) { const responseText = yield response.text(); return JSON.parse(responseText); } else { const errorResponse = yield response.text(); throw new HttpException( `HTTP ${response.status}: ${errorResponse}`, response.status, ...

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

623. 无法触发浏览器文件上传框 [ 46%]

...private skin: string = 'images/button.png'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.B...

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

624. laya.utils.PerfHUD [ 46%]

...渲染,才能使用customRender函数渲染。 Sprite  DATANUM : int = 300[static] PerfHUD destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[rea...

来源: Laya2.0_api 发布时间: 20190513

625. 请教下微信小游戏的内存和数据缓存? [ 46%]

... 5 分享 微博 QZONE 微信 hill_0219 赞同来自: laya 的Ui 小游戏 300m 2018-01-22 0 2 分享 微博 QZONE 微信 hill_0219 赞同来自: 就一张图片也291m 2018-01-22 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hill_0219 ...

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

626. 布局容器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...中有两个item水平排列,它们的宽度都是100,视口宽度是300,如果都不设置Piority,那么两个item的宽度都为150;如果设置第二个元素的Piority为1,则第一个item的宽度是100,第二个item的宽度是200。 Min 设置最小值。在这一列的item的...

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

627. 垂直布局容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

... { this.vbox = new Laya.VBox; this.vbox.pos(100, 100); this.vbox.size(600, 300); this.vbox.bgColor = "#ffffff"; this.vbox.addChild(this.btn1); this.vbox.addChild(this.btn2); this.vbox.addChild(this.btn3); this.vbox.space = 80; this.vbox.align = "center"; } } Copyright ©Layabox 2026 all right reserv...

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

628. 水平布局容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

... { this.hbox = new Laya.HBox; this.hbox.pos(100, 100); this.hbox.size(600, 300); this.hbox.bgColor = "#ffffff"; this.hbox.addChild(this.btn1); this.hbox.addChild(this.btn2); this.hbox.addChild(this.btn3); this.hbox.space = 100; this.hbox.align = "middle"; } } Copyright ©Layabox 2026 all right reser...

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

629. 加载3d场景unknown shader name [ 45%]

...出场景加载时抛异常,不知所措 3d场景单材质单模型CurMem300多 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2022-03-03 18:48 浏览: 7275 关注: 3 人 Laya_Yan • 2022-03-01 15:34 辛苦将可运行的示例发来看一下 Laya_Fred • 20...

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

630. 分享:截屏! [ 45%]

...        var sp2:Sprite = new Sprite();             sp2.x = 300;             sp2.graphics.drawTexture(_texture,0,0,100,100);             Laya.stage.addChild(sp2);         }     } } 2017-04-24 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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