大约有 854 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)
...。 AnimationTransform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getWorldMatrix():Float32Array 获取世界矩阵。 AnimationTransform3D hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventD...
来源: Laya2.0_api 发布时间: 20190513
...singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部分低...
来源: Laya2.0_api 发布时间: 20190513
...Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...
来源: Laya2.0_api 发布时间: 20190513
... 1 个回复 Monica - 知识达人 赞同来自: liuhang123 使用自定义事件,派发事件即可 可以参考下这个Demo:https://ask.layabox.com/question/3957 2017-09-24 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liuhang123...
来源: Laya_社区 发布时间: 20170924
向官方反映1.75引擎库后 事件执行 发生的bug 在引擎1.75以后的laya.core.js库中,在2755行的执行事件处理中,获取到事件数组长度,之后执行相关逻辑,最后再把事件列表长度置0。这样出现的问题是,如果在执行事件中发生错误,...
来源: Laya_社区 发布时间: 20170614
...d[override] TerrainRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...
来源: Laya2.0_api 发布时间: 20190513
...oad(content:* = null):void 结束加载,处理是否缓存及派发完成事件 Event.COMPLETE 。 Loader event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getAtlas(url:String):Array[static] 获取指定资源地址的图集地址列表。 Loader getRes(url:String):*...
来源: Laya2.0_api 发布时间: 20190513
...height:当前游戏实际高度 这样的话 我内部监听stage resize事件 拿到内部有left top right bottom的对象 重新计算他们的XY坐标 例如 A元素设置了 left:10 top:10 那么在noborder模式下面这个A元素实际的坐标是A.x = A.x + AppConfig.viewRect.x; A.y = A.y...
来源: Laya_社区 发布时间: 20171205
...毁自己本身。 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
...cher" EventDispatcher Class EventDispatcher EventDispatcher 类是可调度事件的所有类的基类。 Hierarchy EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState AnimatorState2D Physics AnimationPlayer AxiGamepad ButtonGamepad WebXRInput WebXRSessionMa...
来源: Laya3.0_api 发布时间: 20231115