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

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

361. AI编码环境:CodingMCP · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...。在编辑器中,打开 “Tools & MCP” 配置栏目,点击 ”New MCP Server“,添加 LayaAir-CodingMCP 服务的配置。如图 2-5 所示。 (图 2-5) 注意:添加成功后,会如上图一样,展示出MCP服务的API,请务必保障添加成功并保持开启状态。 ...

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

362. laya.ui.VBox [ 34%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

363. laya.ui.ViewStack_API3.0 [ 34%]

...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new ViewStack(): ViewStack Overrides UIComponent.constructor Defined in laya/ui/ViewStack.ts:19 Returns ViewStack Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ow...

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

364. laya.ui.HBox [ 34%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

365. laya.ui.VBox_API3.0 [ 34%]

...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new VBox(createChildren?: boolean): VBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren:...

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

366. laya.ui.HBox_API3.0 [ 34%]

...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new HBox(createChildren?: boolean): HBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren:...

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

367. laya.ui.UIGroup_API3.0 [ 33%]

...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new UIGroup(labels?: string, skin?: string): UIGroup Overrides UIComponent.constructor Defined in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串...

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

368. laya.ui.View [ 33%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

369. laya.ui.LayoutBox [ 33%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

370. laya.ui.RadioGroup_API3.0 [ 33%]

...。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGroup 类的实例对象 radioGroup 。 radioGroup.pos(100, 100);//设置 radioGroup 的位置信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGro...

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