• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 416 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)

101. laya.net.Socket_API3.0 [ 70%]

...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 see https://html.spec.whatwg.org/multipage/comms.html#dom-websocket Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/net/Socket.ts:43 主机字节序,是 CPU 存放数据的两种不同顺序,包...

来源: Laya3.0_api 发布时间: 20231115

102. laya.components.AnimatorController2D_API3.0 [ 70%]

...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

103. laya.d3.component.Animator [ 70%]

...动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator  getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 EventDisp...

来源: laya_api 发布时间: 20170929

104. laya.events.MouseManager [ 70%]

...ouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶段、冒泡阶段。 捕获阶段:此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的目标对象或者未命中任何对象; 目标阶段:找...

来源: Laya2.0_api 发布时间: 20190513

105. laya.resource.AtlasResource_API3.0 [ 70%]

...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

106. laya.d3.component.animator.AnimatorController_API3.0 [ 70%]

...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

107. laya.resource.Prefab_API3.0 [ 70%]

...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

108. laya.d3.animation.AnimationClip_API3.0 [ 70%]

...Event): void Defined in laya/d3/animation/AnimationClip.ts:672 添加动画事件。 Parameters event: AnimationEvent 动画事件 Returns void destroy destroy(): void Inherited from Resource.destroy Defined in laya/resource/Resource.ts:235 销毁资源,销毁后资源不能恢复。 Returns void du...

来源: Laya3.0_api 发布时间: 20231115

109. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 69%]

...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

110. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 69%]

... UI 线程中运行。虽然你可以通过使用文档对象模型 (DOM) 事件和 setTimeout等API 造成一种多个任务同时在运行的假象,但只需一个计算密集型任务就会使用户体验急转直下。在html5引入了worker的功能,通过使用Web Worker, 我们可以在...

来源: Laya2.0_文档 发布时间: 20210715