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

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

21. laya.d3.core.Sprite3D_API3.0 [ 77%]

...ildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

22. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 76%]

...IndexInReflectionList _initialize _processActive _setIndexInReflectionList addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

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

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

...Laya.stage.height - tree.height) / 2; tree.bgColor = "#d25454"; this.owner.addChild(tree); } } class Item extends Laya.Box { constructor() { super(); this.right = 0; this.left = 0; var selectBox: Laya.Clip = new Laya.Clip("resources/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设...

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

24. laya.display.Node [ 76%]

...c Methods Show Inherited Public Methods MethodDefined By  Node()Node  addChild(node:Node):Node 添加子节点。 Node  addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node  addChildren(... args):void 批量增加子节点 Node  addComponent(type:Class):* ...

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

25. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 76%]

...景。 selectBox.height = 32; selectBox.x = 13; selectBox.left = 12; this.addChild(selectBox); var folder = new Clip("../../res/ui/tree/clip_tree_folder.png", 1, 3); folder.name = "folder"; //设置 folder 的name 为“folder”时,将被识别为树结构的文件夹开启状态图表。2帧:...

来源: Laya2.0_文档 发布时间: 20210715

26. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

...ree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya.Clip; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "u...

来源: Laya2.0_文档 发布时间: 20210714

27. list里面可以加入多个view吗? [ 76%]

...r.ATLAS); } private function onLoaded():void { list=new List(); Laya.stage.addChild(list); list.itemRender=Item; list.repeatX=1; list.repeatY=6; list.x=((Laya.stage.width-Item.WID)/2); list.y=((Laya.stage.height-Item.HEI*list.repeatY)/2); list.vScrollBarSkin="comp/vscroll.png"; list.renderHandler=ne...

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

28. 屏幕适配-屏幕适配 [ 75%]

...例一个背景 let bg = new Image(); bg.skin = "res/bg.jpg"; Laya.stage.addChild(bg); //实例一个文本 this.txt = new Text(); this.txt.text = "点击我切换适配模式(noscale)"; this.txt.bold = true; this.txt.pos(0, 200); this.txt.fontSize = 30; this.txt.on("click", this, this.onTxtClick); ...

来源: Laya2.0_示例 发布时间: 20260106

29. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 74%]

...ee.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [{"type": "Clip", "...

来源: Laya2.0_文档 发布时间: 20210715

30. list 加载动画为什么实现的效果会错乱掉? [ 74%]

... ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.re...

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