大约有 825 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0087 秒)
Laya_社区(495) Laya2.0_文档(93) Laya3.0_api(91) Laya2.0_api(57) laya_api(53) Laya3.0_文档(25) Laya2.0_示例(7) Laya_示例(4)
...treeData += "</data>";2、为你的tree添加一个渲染函数renderHandler,在渲染函数下根据你的alpha值对每条项进行属性赋值 tree.renderHandler=new Handler(this,onTreeRender); // 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的a...
来源: Laya_社区 发布时间: 20170717
...ad(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onComplete)); } } onComplete(): void { //初始化rank排行榜 var rank = new BigR...
来源: Laya_社区 发布时间: 20190307
... : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾...
来源: laya_api 发布时间: 20170929
...ex : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾...
来源: laya_api 发布时间: 20170929
...this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1...
来源: Laya_社区 发布时间: 20170525
...垂直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才...
来源: laya_api 发布时间: 20170929
...垂直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才...
来源: laya_api 发布时间: 20170929
....version/libs/laya.d3.js:15299:21) 10-15 16:43:46.702: E/LayaBox(3503): at Handler.__proto.run (http://stand.alone.versio 10-15 16:43:46.743: W/EGL_emulation(3503): eglSurfaceAttrib not implemented 10-15 16:43:46.743: W/OpenGLRenderer(3503): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9e2a9f80, err...
来源: Laya_社区 发布时间: 20181015
...方向中心线的距离(以像素为单位)。 UIComponent changeHandler : Handler 当颜色发生改变时执行的函数处理器。 默认返回参数color:颜色值字符串。 ColorPicker customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定...
来源: Laya2.0_api 发布时间: 20190513
...直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能...
来源: laya_api 发布时间: 20170929