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

大约有 249 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)

41. 自定义组件时,设置组件子节点的image的skin时,路径为layaIde的路径而非项目路径 [ 52%]

...en():void { super.createChildren(); var index:Number = getChildIndex(_bg); addChildAt(_progress = new Image(),index + 1); } override protected function changeValue():void{ super.changeValue(); _proMask.scaleX = _value / _max; _proMask.repaint(); console.log("改变值: " + _proMask.scaleX); } /** *@...

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

42. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 52%]

...erer scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComp...

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

43. 节点管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...到所有子节点的最后面。 添加子节点到指定的索引位置addChildAt(index:number) 往往要考虑到节点的层级关系或者说遮挡关系,并且已经了解到需要添加到指定的层级位置可使用此方法 批量添加子节点addChildren(...args:any[]) 直接把一组...

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

44. laya.ui.LayoutBox [ 47%]

... By  addChild(child:Node):Node[override] 添加子节点。 LayoutBox  addChildAt(child:Node, index:int):Node[override] 添加子节点到指定的索引位置。 LayoutBox addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指...

来源: laya_api 发布时间: 20170929

45. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 47%]

...ne = Laya.loader.getRes("res/LayaScene_wu/Conventional/wu.ls"); Laya.stage.addChildAt(GamePanel.curScene, 0); //开启雾化效果 GamePanel.curScene.enableFog = true; //设置雾化的颜色 GamePanel.curScene.fogColor = new Laya.Vector3(0.59, 0.59, 0.59); //设置雾化的起始位置,相对于...

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

46. laya.ui.LayoutBox [ 47%]

... By  addChild(child:Node):Node[override] 添加子节点。 LayoutBox  addChildAt(child:Node, index:int):Node[override] 添加子节点到指定的索引位置。 LayoutBox addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntanc...

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

47. 微信小游戏报错 the .lh file root type must be Scene [ 46%]

...h); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChildAt(scene, 0); this.InitCamera(scene); return scene; } 微信小游戏报错 Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Sce...

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

48. laya.d3.core.Camera_API3.0 [ 46%]

...edRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChildren addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChi...

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

49. laya.d3.webxr.core.WebXRCamera_API3.0 [ 45%]

...edRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChildren addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChi...

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

50. laya.d3.core.scene.BaseScene [ 45%]

...cene  addChild(node:Node):Node[override] 添加子节点。 BaseScene  addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 BaseScene addChildren(... args):void 批量增加子节点 Node  addFrustumCullingObject(renderObject:BaseRender):void BaseScene ...

来源: laya_api 发布时间: 20170422