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

大约有 698 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)

461. 面板容器组件 · LayaAir3.0文档 · LAYABOX [ 45%]

...panel.addChild(img); } } } 效果如下动图所示: (动图2-1) Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-09-23 15:55:24 img{cursor:pointer}

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

462. 二次开发 · LayaAir3.0文档 · LAYABOX [ 45%]

...3.2 Android/Java执行JS脚本 ConchJNI.RunJS("alert('hello world')"); Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:34:16 img{cursor:pointer}

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

463. 分享,扩展Laya.Text组件实现简单的富文本 [ 45%]

...; end; i++) { var lines = this.typeLines[i]; var _word; if (this.align == "right") { startX = this._width - padding[1] - this.getTextLinesWidth(lines); } else if (this.align == "center") { startX = (this._width - this.getTextLinesWidth(lines)) * 0.5 + padding[3] - padding[1]; } let nowX = startX - (...

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

464. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 45%]

...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 ​ 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...

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

465. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 45%]

...的参数为:left(居左对齐)、center(水平居中对齐)、right(居右对齐)。 [!Tip] 画布对齐不能理解为UI界面基于stage舞台的对齐,只是画布canvas相对于整个物理屏幕的对齐。 该设置在移动端,基本用不上,移动端绝大多数都需...

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

466. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 45%]

...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 ​ 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...

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

467. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 44%]

...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 ​ 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...

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

468. UI-RefreshList [ 44%]

...ructor(){ super(); this.width = 443; this.height = 86; this.left = 0; this.right = 0; this.zOrder = 2; this.initItem(); } /** 初始化列表子项内容 * */ public function initItem(){ // 列表item的背景图 this.msgBG = new Image("res/ui/refreshList/img_bg22.png"); this.addChild(this.msgBG); t...

来源: Laya2.0_示例 发布时间: 20241001

469. 2D物理-仿生机器人 [ 44%]

...反方向运动\n单击产生新的小球刚体")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = "#e69999"; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.offAll(Laya.Event.DOUBLE_CLICK); Laya.Laya.stage.removeChild(this.label); } } class B2Math { sta...

来源: Laya2.0_示例 发布时间: 20241001

470. zip更新 · LayaAir3.0文档 · LAYABOX [ 44%]

...appcache对象: ​ var cachepath = window.appcache.getCachePath() Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:34:16 img{cursor:pointer}

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