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

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

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

...,也可以得到包含重力的加速坐标。 ​ change事件的回调函数拥有一个以下参数: acceleration —— AccelerationInfo类型。提供宿主设备相对于地球坐标系的加速信息,其表现形式为定义于陀螺仪章节的主坐标系,单位是m/s^2。 accelerat...

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

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

...也可以得到包含重力的加速坐标。 ​ `change`事件的回调函数拥有一个以下参数: - `acceleration` —— `AccelerationInfo`类型。提供宿主设备相对于地球坐标系的加速信息,其表现形式为定义于陀螺仪章节的主坐标系,单位是`m/s^2`。 - ...

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

323. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 46%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

324. laya.components.AnimationClip2D_API3.0 [ 46%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

325. laya.d3.resource.RenderTexture_API3.0 [ 46%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

326. laya.d3.resource.RenderTextureCube_API3.0 [ 46%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

327. 3d项目在开发环境下,使用google浏览器版本 62.0.3202.62(正式版本) (64 位),最小化后,再次切出必然崩溃问题。以及资源加载疑问 [ 45%]

...片依然没有从缓存中移除?这个就很纳闷了。 对于clearRes函数为什么不返回一个boolean,让调用者知道是否移除成功呢? lvfy • 2017-10-25 11:45 浏览器webGL奔溃问题,应该是浏览器本身兼容问题,所有有webGL模式的游戏最小化后都...

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

328. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 45%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

329. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 44%]

...2018-07-30 1 0 分享 微博 QZONE 微信 Kevin.Woo 赞同来自: 是不是函数覆盖了,只输出第二个。 2018-07-30 0 0 分享 微博 QZONE 微信 189*****192 赞同来自: Child 看一下 2018-07-30 0 0 分享 微博 QZONE 微信 小卡 赞同来自: 你该不会是用了static变量存nu...

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

330. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 44%]

...- 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop = function(...

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