大约有 789 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
Laya_社区(762) Laya3.0_文档(5) laya_api(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4) Laya2.0_文档(3) Laya_示例(3)
...andler = new Laya.Handler(this, this.updateListItem); this.publicSpaceList.array = ; this.addChild( this.publicSpaceList ); public setPublicSpacesData (_publicSpacesInfo:any) : void ///调用这个方 传入参数 里面有每一个图片的名字 { this.publicSpacesInfo = _publicSpacesInfo; thi...
来源: Laya_社区 发布时间: 20170923
...钮坐标问题导致无法点击 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 3d坐标转换问题 问题状态 最新活动: 2016-09-27 09:39 浏览: 2352 关注: 2 人
来源: Laya_社区 发布时间: 20160926
...{ for (var i in param) { var k = key == null ? i : key + (param instanceof Array ? '[' + i + ']' : '.' + i); paramStr += CommonUtils.urlEncode(param[i], k, encode); } } // var paramStr = ""; // for (var prop in param) { // paramStr += prop + "=" + param[prop] + "&"; // } // paramStr = paramStr.s...
来源: Laya_社区 发布时间: 20170628
... public function frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void { _create(true, true, delay, caller, method, args, coverBefore); } 2018-04-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180409
纹理截取后内存释放不了 private var oriDBArr:Array = null;//位图源 var tex:Texture = Laya.loader.getRes(_url); for (var i:int = 0; i < list1["oriBDPos"].length; i++ ) { var g:Graphics = new Graphics(); var t:Texture = Texture.createFromTexture(tex, posObj.x, posObj.y, posObj.w, posO...
来源: Laya_社区 发布时间: 20170224
...的链接 提交 1 个回复 cuixueying 赞同来自: var grayscaleMat:Array = [0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.6094, 0.0820, 0, 0, 0, 0, 0, 1, 0]; var grayscaleFilter:ColorFilter = new ColorFilter(grayscaleMat); mArmature.filters=[grayscaleFilter];骨骼动...
来源: Laya_社区 发布时间: 20161222
...问题 富文本下划线绘制bug drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 如何识别当前环境是微信小游戏环境 如何把本地的svg文件读取到内...
来源: Laya_社区 发布时间: 20171130
... roleAni.y = 0; } private function aniUrls(aniName:String, len:int):Array { var urls:Array = []; for (var i:int = 1; i <= len; i++) { //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push(aniName + i + "...
来源: Laya_社区 发布时间: 20170821
... */ public function drawPoly(x:Number, y:Number, points:Array, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void {目前暂时不支持颜色渐变,请使用其他替代方式替换渐变功能! 2018-04-16 0 2 分享 微博 QZONE 微信 王 坤 赞同来自: 什么...
来源: Laya_社区 发布时间: 20180416
...描述是 public function once(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组,请问这个正确的传参是怎么传的? 2017-08-27 添...
来源: Laya_社区 发布时间: 20170827