大约有 413 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(130) Laya3.0_api(69) Laya2.0_api(64) laya_api(59) Laya2.0_文档(46) Laya3.0_文档(26) Laya_示例(12) Laya2.0_示例(7)
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce f...
来源: Laya3.0_api 发布时间: 20231102
...nable = true; this.herolist.itemRender = HeroStartHeadItem; this.heropanel.addChild(this.herolist); //UI中直接添加的panel 已经实例化 this.heropanel.hScrollBarSkin = ""; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); thi...
来源: Laya_社区 发布时间: 20171227
... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint g...
来源: Laya3.0_api 发布时间: 20231102
...Texture平铺出现缝隙 this.darwSprite = new Sprite(); this.addChild(this.darwSprite); var t: Texture = Laya.loader.getRes("load/0.png"); this.darwSprite.graphics.drawTexture(t,0,0); this.darwSprite.graphics.drawTexture(t,176,0); this.da...
来源: Laya_社区 发布时间: 20160718
...下图一。let cube = new MeshSprite3D(PrimitiveMesh.createBox()); scene.addChild(cube); let pos = new Vector3(); let screenPos = new Vector3(); Laya.timer.frameLoop(1, this, ()=>{ camera.orthographic = true; screenPos.setValue(camera.clientWidth / 2, camera.clientHeight / 2, 0.1); //converScree...
来源: Laya_社区 发布时间: 20220525
....borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背...
来源: Laya3.0_api 发布时间: 20231115
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameO...
来源: Laya3.0_api 发布时间: 20231115
...lBar(skin:String = null) 创建一个新的 ScrollBar 实例。 ScrollBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...ge = new Image("res/ui/dialog (3).png"); dialog.pos(165, 62.5); Laya.stage.addChild(dialog); } } } new laya.UI_Image(); ```
来源: Laya2.0_文档 发布时间: 20210714