大约有 698 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(204) Laya3.0_文档(185) Laya_社区(153) Laya2.0_api(63) laya_api(56) Laya2.0_文档(17) Laya2.0_示例(11) Laya_示例(9)
...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
...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
...; 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
...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...
来源: Laya2.0_文档 发布时间: 20210715
...的参数为:left(居左对齐)、center(水平居中对齐)、right(居右对齐)。 [!Tip] 画布对齐不能理解为UI界面基于stage舞台的对齐,只是画布canvas相对于整个物理屏幕的对齐。 该设置在移动端,基本用不上,移动端绝大多数都需...
来源: Laya3.0_文档 发布时间: 20230808
...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...
来源: Laya2.0_文档 发布时间: 20210714
...worldMatrix:Matrix4x4` 世界矩阵 `rotation:Quaternion` 世界旋转。 `right:Vector3` [read-only] 获取向右方向。 `forward:Vector3` [read-only]获取向前方向。 #### 3D世界中的子父关系 在3D世界中父节点变换,其子节点会跟着响应的变换。但是子节点发...
来源: Laya2.0_文档 发布时间: 20210715
...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
...反方向运动\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
...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