大约有 98 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0042 秒)
... Timer 类的一个实例。 Timer callLater(caller:*, method:Function, args:Array = null):void 延迟执行。 Timer clear(caller:*, method:Function):void 清理定时器。 Timer clearAll(caller:*):void 清理对象身上的所有定时器。 Timer frameLoop(delay:int, caller:*, method...
来源: Laya2.0_api 发布时间: 20190513
...会影响鼠标事件的执行。 Public Properties PropertyDefined By args : Array 参数。Handler caller : * 执行域(this)。Handler method : Function 处理方法。Handler once : Boolean = false 表示是否只执行一次。如果为true,回调后执行recover()进行回收,...
来源: Laya2.0_api 发布时间: 20190513
...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
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接...
来源: Laya2.0_api 发布时间: 20190513
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 监视陀螺仪运动。 Gyroscope once(type:String, caller:*, listener:Function, args:Arr...
来源: Laya2.0_api 发布时间: 20190513
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:A...
来源: Laya2.0_api 发布时间: 20190513