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

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

1. layaUI.max.all.js 这个文件怎么生成的? [ 100%]

...eUI,         ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,...

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

2. laya.d3.animation.AnimationNode_API3.0 [ 95%]

...mplements IClone Index Constructors constructor Properties name Methods addChild clone cloneTo getChildByIndex getChildByName getChildCount removeChild Constructors constructor new AnimationNode(): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:22 创建一个新的 AnimationNode 实例...

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

3. laya.d3.animation.AnimationNode [ 93%]

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

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

4. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 84%]

...eUI,         ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,...

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

5. 树状列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 81%]

... treeData += "<dir label='box1' isOpen='true'>" + "<file label='child1 ' />" + "<file label='child2 ' />" + "<file label='child3 ' />" + "<file label='child4 ' />" + "<file label='child5 ' />" + "</dir>" + "<dir label='box2' isOpen='false'>" + "<fil...

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

6. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 79%]

...deName = ''; let prefix = 'culling_mask='; for(let i = 0; i < target.numChildren; ++i){ let child = target.getChildAt(i); if(child.name.indexOf(prefix) == 0){ layerNodeName = child.name.replace(prefix,''); child.destroy(); break; } } if(!layerNodeName){ return; } let arr = layerNodeName.split('|'...

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

7. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 77%]

...tItemByCameraCullInfo getItemByFrustum getItemBySCI getList getNearlist getchild0 getchild1 isContentBox isRoot recaculateBox removeCell splitBox traverseBoundsCell sciContainsBox sciIntersectsBox Constructors constructor new BVHSpatialBox(bvhmanager: BVHSpatialManager, config: BVHSpatialConfig): BV...

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

8. laya.utils.ClassUtils [ 75%]

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

9. layacmd在centOS 6.5上运行出错 [ 74%]

...cking complete All Work complete finish. tsc -p . --outDir bin/js internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1024:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at LayaPro...

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

10. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 74%]

...tItemByCameraCullInfo getItemByFrustum getItemBySCI getList getNearlist getchild0 getchild1 isContentBox isRoot recaculateBox removeCell splitBox traverseBoundsCell sciContainsBox sciIntersectsBox Constructors constructor new BVHRenderBox(bvhmanager: BVHSpatialManager, config: BVHSpatialConfig): BVH...

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