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

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

1. laya.device.motion.RotationInfo [ 100%]

... 关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 RotationInfo  alpha : Number Z轴旋转角度,其值...

来源: laya_api 发布时间: 20170929

2. Ignored attempt to cancel a touchmove event with cancelable=false [ 92%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在源码里面加上判断后,     (e.cancela...

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

3. Ignored attempt to cancel a touchmove event with cancelable=false [ 92%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

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

4. Ignored attempt to cancel a touchmove event with cancelable=false [ 91%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

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

5. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 89%]

eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 把项目运行在编译器中,切到后台一会就会报这个错 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

6. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 87%]

...er Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate refere...

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

7. Native IOS下获取陀螺仪数据为0 [ 86%]

...意坐标系。 //设置陀螺仪的处理 Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange);   private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void         {             if (info.alpha === null)             {     ...

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

8. 3D中摄像机绕物体旋转该如何实现? [ 85%]

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

9. 官方案例里摄像机绕物体旋转脚本的问题 [ 85%]

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

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

10. Laya tiledmap 监听事件未响应 [ 84%]

...stPrior = true;         Laya.stage.focus = _mapSprite;         let event = _mapSprite.on(Laya.Event.CLICK, this, () => {             LogUtil.w("响应点击事件")         })     }   尝试使用focus 好像也没有响应 请问大佬们能解答一下吗 附件 : --> 2022-...

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