大约有 445 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else{ RES.getInstance().event(RES.ONLOADERRORRESJSON,arg); } })) } /** * groupName 资源组名称...
来源: Laya_社区 发布时间: 20161011
...aller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 * @param coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameOnce(delay: number, caller: any, method: Function, args: any[] = null, coverBefore: boolean = true): void { this._create...
来源: Laya3.0_文档 发布时间: 20251010
...t):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象...
来源: laya_api 发布时间: 20170929
... this.sp.graphics._saveToCmd(this.test1,arr); } test1(x,y,args):void { console.log("args[0]"+args[0]+",args[1]"+args[1]+",args[2]"+args[2]) var sp:Laya.Sprite = args[0]; //sp.graphics.clear(); var ctx=Laya.Render._context.ctx...
来源: Laya_社区 发布时间: 20170316
...t):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, a...
来源: Laya2.0_api 发布时间: 20190513
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya2.0_api 发布时间: 20190513
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: laya_api 发布时间: 20170929
... Index Constructors constructor Accessors count Methods add clear clearForTarget invoke once remove Constructors constructor new Delegate(): Delegate Defined in laya/utils/Delegate.ts:5 Returns Delegate Accessors count get count(): number Defined in laya/utils/Delegate.ts:77 Returns number Methods a...
来源: Laya3.0_api 发布时间: 20231115
... Returns number Methods callLater callLater(caller: any, method: Function, args?: any[]): void Defined in laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear cl...
来源: Laya3.0_api 发布时间: 20231115
...e: boolean, repeat: boolean, delay: number, caller: any, method: Function, args: Array<any>, coverBefore: boolean): void; /** * 定时执行一次。 * @param delay 延迟时间(单位为毫秒)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调...
来源: Laya_社区 发布时间: 20171109