大约有 1,604 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0081 秒)
Laya_社区(973) Laya2.0_文档(192) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(29)
...Ready)); } private onResReady() { let panel = new Laya.Panel(); Laya.stage.addChild(panel); panel.graphics.drawRect(0, 0, 300, 300, "#ffcccc"); panel.width = 300; panel.height = 300; panel.pos(200, 300); let image = new Laya.Image(); image.skin = "comp/image.png"; image.pos(100, ...
来源: Laya_社区 发布时间: 20211108
...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
...in:String = null) 创建一个新的 ProgressBar 类实例。 ProgressBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...818760256 赞同来自: var view = new testUI(); view.pos(0,0); Laya.stage.addChild(view); view.fbar.y = 24;//这里设置没效果。。 Test.zip 2017-11-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 158187...
来源: Laya_社区 发布时间: 20171123
... 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 callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929
...=new Laya.Rectangle(-200,-200,300,300); mArmature.hitArea=rect; Laya.stage.addChild(mArmature); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName("goblin"); mArmature.play(0, false); mArmature.stop(); } function onChangeSkin() { console.log("执行了点击"); } })(); 附件 : ...
来源: Laya_社区 发布时间: 20170830
...: " + imageHtml.contextWidth + ", " + imageHtml.contextHeight); Laya.stage.addChild(imageHtml); 上述代码在Laya中运行 正确显示了 图片 控制台输出: size: 200, 200 contextSize: 0, 0 如何获取真实大小? 2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20171118
....Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 10000; Laya.stage.addChild(o); })); 但是如果要把状态也clone出来,并没有什么方便的方法。 2019-02-14 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新...
来源: Laya_社区 发布时间: 20190210
... null, label:String) 创建一个新的 CheckBox 组件实例。 CheckBox addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929
...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fr...
来源: Laya3.0_api 发布时间: 20231115