大约有 725 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0089 秒)
...form3D):void MeshRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...
来源: Laya2.0_api 发布时间: 20190513
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231102
...将详细介绍LayaAir引擎中HTTP请求的基本操作、常用方法、事件处理、以及如何扩展HttpRequest类以满足特殊需求。 一、 HTTP基础概念 HTTP(HyperText Transfer Protocol),即超文本传输协议,是一种用于客户端和服务器之间通信的协议。它...
来源: Laya3.0_文档 发布时间: 20251010
...singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部分低...
来源: Laya2.0_api 发布时间: 20190513
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231115
...singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部分低...
来源: laya_api 发布时间: 20170929
... 赞同来自: Todo 数据发送你用HttpReuest,接收就是监听完成事件,在完成事件里会收到服务端返回的数据信息,关于数据是什么类型的这个是服务端规定的,他传什么类型的数据你接收到的就是什么类型的数据! 2017-03-01 1 1 分享 ...
来源: Laya_社区 发布时间: 20170301
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231115
...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay...
来源: Laya2.0_api 发布时间: 20190513
...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay...
来源: laya_api 发布时间: 20170929