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

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

291. laya.ui.AdvImage_API3.0 [ 56%]

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

292. List设置滚动到指定位置之后,无法往回拖动 [ 56%]

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

293. laya.ui.ColorPicker [ 56%]

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

294. laya.html.dom.HTMLIframeElement_API3.0 [ 56%]

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

295. 图片通过drawTexture平铺出现缝隙 [ 56%]

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

296. 转换2D屏幕坐标系统到3D正交投影下的坐标系统位置偏差 [ 56%]

...下图一。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

297. laya.display.Text_API3.0 [ 56%]

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

298. laya.display.AnimationBase_API3.0 [ 56%]

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

299. laya.ui.ScrollBar [ 56%]

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

300. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 55%]

...ge = new Image("res/ui/dialog (3).png"); dialog.pos(165, 62.5); Laya.stage.addChild(dialog); } } } new laya.UI_Image(); ```

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