大约有 439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(152) Laya_社区(124) Laya2.0_api(67) laya_api(55) Laya2.0_文档(28) Laya3.0_文档(12) Laya2.0_示例(1)
...、陀螺仪 `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是`true`;如果设备无法检测到地球坐标系统,`absolute...
来源: Laya2.0_文档 发布时间: 20210714
...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
... 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
... 1、陀螺仪 Gyroscope通过change事件对设备方向改变进行监听。该事件有两个回调参数: absolute —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是true;如果设备无法检测到地球坐标系统,absolute为false...
来源: Laya3.0_文档 发布时间: 20230303
... 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
... 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
...、陀螺仪 `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是`true`;如果设备无法检测到地球坐标系统,`absolute...
来源: Laya2.0_文档 发布时间: 20210715
... 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
... 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
...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