大约有 1,616 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)
Laya_社区(986) Laya2.0_文档(192) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(28)
...r.ATLAS); } private function onLoaded():void { sp=new Sprite(); Laya.stage.addChild(sp); //每隔0.05秒出现下张图片 Laya.timer.loop(50,this,onLoop); } private function onLoop():void { //更改texture的纹理,逐一显示不同的image chageTexture(); //如果texture有值,进行绘制并...
来源: Laya_社区 发布时间: 20161107
... 尝试了一下,这个参数 let sp = new Laya.Sprite(); Laya.stage.addChild(sp); var dx = 0; var dy = 0; var x0 = 100 + dx; var y0 = 100 + dy; var x1 = x0 + 100; var y1 = y0; var x2 = x0; var y2 = y0 + 100; var r = 50; let path = [ ["moveTo", x0, y0], ["arcTo", x1, y1, x2, y2, r], ["lin...
来源: Laya_社区 发布时间: 20201023
...skeleton:Laya.Skeleton = new Laya.Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,350); //通过加载直接创建动画 skeleton.load("res/DragonBones/rooster/Rooster_Ani.sk"); ``` 运行效果如动图6所示  (动图6)
来源: Laya2.0_文档 发布时间: 20210715
... at Scene3D.__proto._setParent (laya.core.js:18511) at Stage.__proto.addChild (laya.core.js:13290) at Main.Complete3D (Main.ts:48) at Handler.__proto.runWith (laya.core.js:1400) at LoaderManager.__proto._createOne (laya.core.js:14594) at LoaderManager.__proto._create (l...
来源: Laya_社区 发布时间: 20190124
... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...
来源: Laya3.0_api 发布时间: 20231115
...= null, skin:String = null) 创建一个新的 Group 类实例。 UIGroup addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addItem(item:ISelect, autoLayOu...
来源: laya_api 发布时间: 20170929
...on onLoaded():void { //实例UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);//1000毫秒后初始化list数据 listP.add.on(Event.CLICK,this,onAddClick);//点击添加按钮 listP.remove.on(Event.CLICK,this,onRemoveClick);//点击删除按钮 } privat...
来源: Laya_社区 发布时间: 20170313
...BootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this.Boot.selectHandler = new Laya.Handler(this, onSelect, null, false);//设置 tab 的选择项发生改变时执行的处理器。 console....
来源: Laya_社区 发布时间: 20160722
...tring = null, label:String) 创建一个新的 Button 类实例。 Button addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...
来源: Laya3.0_api 发布时间: 20231115