大约有 395 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0136 秒)
Laya_社区(263) Laya2.0_文档(45) Laya3.0_文档(21) Laya3.0_api(21) laya_api(15) Laya2.0_api(13) Laya2.0_示例(10) Laya_示例(7)
...。在编辑器中,打开 “Tools & MCP” 配置栏目,点击 ”New MCP Server“,添加 LayaAir-CodingMCP 服务的配置。如图 2-5 所示。 (图 2-5) 注意:添加成功后,会如上图一样,展示出MCP服务的API,请务必保障添加成功并保持开启状态。 ...
来源: Laya3.0_文档 发布时间: 20251231
...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
...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
...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
...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
...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
...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
...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
...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
...。 } 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