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

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

11. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 82%]

... = path.join(this.BaseURL.split("bin")[0], "./node_modules/.bin/tsc.cmd"); child_process.execFile(tscurl, cmd, (err, stdout, stderr) => { if (err) { console.log(err, '\n', stdout, '\n', stderr); } start(err); }); 复制代码[/code] 改为[code] let cmd = "tsc -b " + tsConfigUrl; child_process.ex...

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

12. layacmd安装失败 [ 82%]

...k     at EventEmitter.emit (events.js:214:7) 5897 verbose stack     at ChildProcess.<anonymous> (D:\SDK\node.js\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 5897 verbose stack     at emitTwo (events.js:126:13) 5897 verbose stack     at ChildProcess.emit (events.js:21...

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

13. macOS系统运行layaair-cmd resourceVersion报错 [ 81%]

...Version -i ./src/res -o ./src -n 1000 报错,错误如下:   internal/child_process.js:323     throw errnoException(err, 'spawn');     ^   Error: spawn EACCES     at _errnoException (util.js:1022:11)     at ChildProcess.spawn (internal/child_process.js:323:11)     at exports.spawn (c...

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

14. laya.utils.ClassUtils [ 80%]

...rite上 ClassUtils  addGraphicToSprite(graphicO:Object, sprite:Sprite, isChild:Boolean = false):void[static] 将graphic绘图指令添加到sprite上 ClassUtils  createByJson(json:*, node:* = null, root:Node = null, customHandler:Handler = null, instanceHandler:Handler = null):*[static] 根据...

来源: laya_api 发布时间: 20170929

15. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 80%]

..."isOpen":true,     "isDirectory":true,     "isAniNode":true,     "hasChild":true,     "compId":2,     "child":[         {             "x":15,             "type":"List",             "searchKey":"List",             "props":{"width":"100","height":"100"},       ...

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

16. laya.ui.LayoutBox [ 80%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

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

17. 1.7.9 UI编辑器编辑页面后发布,资源不会打包 [ 79%]

...错信息 2017-09-07 0 0 分享 微博 QZONE 微信 Lu123456 赞同来自: child_process.js:545 throw err; ^ Error: spawnSync cmd.exe ENOENT at exports._errnoException (util.js:1022:11) at spawnSync (child_process.js:480:20) at execSync (child_process.js:536:13) at childProcess.(anonymous function) ...

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

18. laya.ui.LayoutBox [ 77%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scr...

来源: laya_api 发布时间: 20170929

19. 设置zorder没有用,如图 [ 76%]

...是该节点在其父节点中的下标大小,可以调试看下 node._childs, 这是一个节点的所有子节点数组; zorder影响的也是_childs中各节点的下标排序;   你这个不是同一级吧 2018-03-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

20. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 75%]

...个名字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child &a...

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