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

大约有 194 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)

11. 官网的LayaRender无法开启角度指示器 [ 67%]

...法开启角度指示器 var render = LayaRender.create( { engine: engine, container: gameWorld, width: stageWidth, height: stageHeight, options: { wireframes: true, showAngleIndicator: true //无法开启 } });   哎,为什么你们习惯要开发者上传Demo给你们发现问题呢?自己开...

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

12. 在VIVO小游戏中 输入框无法调用起来手机键盘 [ 66%]

...blur(); if (Render.isConchApp) input.setPos(-10000, -10000); else if (inputContainer.contains(input)) inputContainer.removeChild(input); } } }   执行此方法的时候小键盘不出来 求教各位大佬是什么原因,   AS语言,VIVO小游戏 2019-10-10 添加评论 免费帖 --> 分享 ...

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

13. styles.xml报错 [ 65%]

...margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h3>Below is a rendering of the page up to the fir...

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

14. 问下设置物理引擎的设备像素比的,结合Laya要怎么弄 [ 62%]

...   {             engine: engine,             // container: gameWorld,             options:             { width: stageWidth,              height: stageHeight,                 wireframes: true, pixelRatio: window.devicePixe...

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

15. 如何加载一个HTML页面 [ 60%]

...码如下,可是这个页面无法显示 ,且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text  = Laya.T...

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

16. laya.d3.core.BaseCamera_API3.0 [ 58%]

...onent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestro...

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

17. canvas定位后 点击区域偏移 [ 57%]

...复 米粒 赞同来自: 大光电KID 看源码解决了!如果改变layaContainer的位置后导致点击偏移,可以改源码: laya.core.js第12581行          this._point.setTo(e.pageX || e.clientX,e.pageY || e.clientY); 改为 this._point.setTo((e.pageX || e.clientX)-Browser._contai...

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

18. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...界面,一般使用模板函数来构建 let template = ` <view id="container"> <text id="testText" class="redText" value="hello canvas"></text> </view> `; // 以键值对的形式定义开放数据域的样式和布局 let style = { container: { width: 400, height: 200, ba...

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

19. laya.d3.terrain.Terrain [ 54%]

...功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  depth():Number 获取地形Z轴长度。 Terrain destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象...

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

20. laya.d3.core.Camera_API3.0 [ 53%]

...onent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointT...

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