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

大约有 439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)

371. 陀螺仪与加速计(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 42%]

...、陀螺仪 ​ `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是`true`;如果设备无法检测到地球坐标系统,`absolute...

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

372. 【简单跑酷--JS版】---Lv.6 终篇 [ 42%]

...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, thi...

来源: Laya_社区 发布时间: 20160803

373. laya.resource.Texture2D_API3.0 [ 42%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

374. 陀螺仪与加速计 · LayaAir3.0文档 · LAYABOX [ 42%]

... 1、陀螺仪 ​ Gyroscope通过change事件对设备方向改变进行监听。该事件有两个回调参数: absolute —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是true;如果设备无法检测到地球坐标系统,absolute为false...

来源: Laya3.0_文档 发布时间: 20230303

375. laya.components.AnimatorController2D_API3.0 [ 42%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

376. laya.resource.AtlasResource_API3.0 [ 42%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

377. 陀螺仪与加速计(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 42%]

...、陀螺仪 ​ `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是`true`;如果设备无法检测到地球坐标系统,`absolute...

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

378. laya.d3.component.animator.AnimatorController_API3.0 [ 41%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

379. laya.resource.Prefab_API3.0 [ 41%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

380. 浏览器接口 · LayaAir3.0文档 · LAYABOX [ 41%]

...indow.open(url); win2.postMessage(content, url);// 此处最好加延迟 //监听器注册 Laya.Browser.window.addEventListener("click", (event: any) => { console.log(event.type); }) Window.open() 方法、window.postMessage()方法、Window.addEventListener()方法 3.3 container 画布 LayaAir...

来源: Laya3.0_文档 发布时间: 20230810