大约有 445 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya2.0_api 发布时间: 20190513
...pe:String, data:* = null):Boolean 派发事件。 EventDispatcher from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine from(target:*, props:Object, duration:Number, ease:Function = null, offset:Numb...
来源: laya_api 发布时间: 20170929
...ex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }drawTexture方法最下方有上面这一段代码,作用大概是第一加载失败时,再重新加载一遍。本来是挺好的,但是tex.once却会报tex.once is not function 的错。请问现在该如何...
来源: Laya_社区 发布时间: 20180724
...档上描述是 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
...pe:String, data:* = null):Boolean 派发事件。 EventDispatcher from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine from(target:*, props:Object, duration:Number, ease:Function = null, offset:Numb...
来源: Laya2.0_api 发布时间: 20190513
...档上描述是 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
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya2.0_api 发布时间: 20190513
...侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher onAsynLoaded(url:String, data:*, params:Array):void pr...
来源: laya_api 发布时间: 20170422
...fault class page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } } 附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分...
来源: Laya_社区 发布时间: 20181124
...来自: if (!tex.loaded){ tex.once("loaded",this,this._textureLoaded,[tex,args]); } 是显示微信头像,格式好像是jifi 2018-01-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****367 相关问题 请问LayaAir中如何...
来源: Laya_社区 发布时间: 20180114