大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...ui/"+i+".png",isSelect:false}); } my_list.array=data; my_list.selectEnable=true; my_list.selectHandler=new Handler(this,onSlectHandler); my_list.renderHandler=new Handler(this,onRenderHandler); } private function onRenderHandler(cell:Box,index:int):void { var img:Image=cell.getChildByName("img")as I...
来源: Laya_社区 发布时间: 20170310
...: 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg2.png": { "frame": { "x": 302, "y": 0, "w": 290, "h": 300, "idx": 0 }, "spriteSourceSize": { "x": 10, "y": 0, "w": 290, "h": 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg3.png...
来源: Laya_社区 发布时间: 20170329
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
... : String 层的名称。AnimatorControllerLayer playOnWake : Boolean = true 激活时是否自动播放AnimatorControllerLayerPublic Methods MethodDefined By AnimatorControllerLayer(name:String) 创建一个 AnimatorControllerLayer 实例。 AnimatorControllerLayer clone():* 克隆。 An...
来源: Laya2.0_api 发布时间: 20190513
...llBarSkin = "";//隐藏列表的滚动条皮肤 this.list.elasticEnabled = true;//设置橡皮筋为ture this.list.scrollBar.elasticBackTime = 200;//设置橡皮筋回弹时间。单位为毫秒 this.list.scrollBar.elasticDistance = 50;//设置橡皮筋极限距离 // this.list.scrollBar.autoHide = ...
来源: Laya3.0_文档 发布时间: 20251010
...来自: 我也遇到过这个问题 主域里边要写Laya.MiniAdpter.init(true) 子域里边要写Laya.MiniAdpter.init(true, true) 这样解决了,你可以试试。 2018-06-29 0 2 分享 微博 QZONE 微信 158*****395 赞同来自: 解决了吗,我也遇到了, 2018-07-18 0 0 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180507
...题的!赏金给我吧 var img1:Sprite = new Sprite; img1.mouseThrough = true; img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png', 100, 100, 90, 90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK, this, function(name) { console.log(name); }, ['图1']); var im...
来源: Laya_社区 发布时间: 20180621
...一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stage.addChild(text); } } new Timer_CallLater();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebG...
来源: Laya2.0_示例 发布时间: 20260303
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115