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

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

11. 区块地图-等角地图 [ 83%]

...WALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle, Point = Laya.Point; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/isometric_grass_and_...

来源: Laya2.0_示例 发布时间: 20241001

12. laya.device.motion.Gyroscope_API3.0 [ 83%]

...。关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Co...

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

13. layaair2-cmd无法编译 [ 82%]

...  layaair2-cmd compile报错   [15:46:08] Starting 'compile'... stderr: events.js:167       throw er; // Unhandled 'error' event       ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1   但是我是新创建的代码,一行代码都没改动 附件 ...

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

14. laya.device.motion.Gyroscope [ 80%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

来源: laya_api 发布时间: 20170929

15. laya.device.motion.Gyroscope [ 80%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

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

16. 关于shader中opengl函数问题 [ 78%]

...alog遮罩层移除解决问题的说明 关于apk打包动画卡的问题 event自定义事件的问题 我这样载入场景问题出现在哪呢?? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问题状态 最新活动: 2016-10-01 17:15 浏览: 3891 关注: 3 ...

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

17. 在Chrome下Layaair的List组件无法拖动,报如图错误 [ 76%]

...件无法拖动,报如图错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.   附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

18. laya.device.motion.RotationInfo_API3.0 [ 75%]

... 关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha alpha: number Defined in laya/device/motion/Rotatio...

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

19. 设置声音 在 chrome 的一个警告 [ 72%]

...ginView.login @ LoginView.ts:24 __proto.runWith @ laya.core.js:711 __proto.event @ laya.core.js:488 __proto.sendEvents @ laya.core.js:3263 __proto.onMouseUp @ laya.core.js:3422 __proto.onMouseUp @ laya.core.js:2966 __proto.check @ laya.core.js:2993 __proto.check @ laya.core.js:2986 __proto.check @ l...

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

20. laya.d3.js里定义的这个投影矩阵不太对吧 [ 68%]

...帮忙看一下 3D平行光产生的投影,如何修改颜色深浅? event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 请问laya里如何解析json,似乎和AS3的不太一样。 "Background is not defined"怎么会没定义呢???求救 ...

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