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

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

11. laya.ui.Tree_API3.0 [ 85%]

...= "<root><item label='box1'><abc label='child1'/><abc label='child2'/><abc label='child3'/><abc label='child4'/><abc label='child5'/></item><item label='box2'><abc lab...

来源: Laya3.0_api 发布时间: 20231115

12. layacmd atlas报错 [ 85%]

...6fdebd4:/# npm -v 3.10.10    root@6c4616fdebd4:/# layacmd atlas internal/child_process.js:319 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at exports._errnoException (util.js:1020:11) at ChildProcess.spawn (internal/child_process.js:319:11) at exports.spawn (child_process.js:369:9) at...

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

13. laya.d3.animation.AnimationNode [ 83%]

...ray = null) 创建一个新的 AnimationNode 实例。 AnimationNode  addChild(child:AnimationNode):void 添加子节点。 AnimationNode  clone():* 克隆。 AnimationNode  cloneTo(destObject:*):void 克隆。 AnimationNode  getChildByIndex(index:int):AnimationNode 根据索引获取子节...

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

14. laya.ui.LayoutBox [ 83%]

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

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

15. laya.utils.ClassUtils [ 82%]

...2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } ClassUtils  getClass(className:String):*[static] 根据名字返回类对象。 ClassUtils  getInstance(className:String):*[...

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

16. laya.utils.ClassUtils [ 82%]

...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

17. layacmd安装失败 [ 81%]

...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

18. macOS系统运行layaair-cmd resourceVersion报错 [ 79%]

...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

19. 坐标系原点 [ 79%]

...ite(); _parent.graphics.drawRect(0, 0, 500, 500, '#ff0000'); Laya.stage.addChild(_parent); var _child = new Sprite(); _child.graphics.drawRect(0, 0, 50, 50, '#336699'); _parent.addChild(_child);就像上面那样,我需要在addChild的时候,_child默认在_parant的左下角~按上面的方法...

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

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

... = 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