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

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

21. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 89%]

...[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 安卓上打包运行没问题 iphone上打包运行弹窗报以上alert,请问我该如何定位这个alert 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

22. 2D线渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 88%]

...折线,然而LayaAir3.3开始,提供了更为高级的2D线渲染器(Line2DRender),不仅具有Graphics的画线能力,还支持创建虚线,以及为线段设置材质和纹理,使得2D线也可以接收光照,拥有更加炫酷的线形状效果,例如绳索、渐变线、线段边...

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

23. 射线检测-射线检测 [ 86%]

...= 1; var _scaleIndex = -1; var _color = new Laya.Vector4(1, 0, 0, 1); var _linePos = new Laya.Vector3(0, 1, 0); var phasorSpriter3D = new Laya.PhasorSpriter3D(); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.stage.mouseX; point.elements[1] = Laya.stage.mouseY; camera.v...

来源: Laya_示例 发布时间: 20260303

24. tween有这个一个bug [ 86%]

tween有这个一个bug 先创建一个timeline循环按钮动画 var timeLine = new Laya.TimeLine(); timeLine.addLabel("ZoomIn",0).to(share.btShare,{scaleX:0.9, scaleY:0.9},400,Laya.Tween.cubicOut,0) .addLabel("ZoomOut",0).to(share.btShare,{scaleX:1.0, scaleY:1.0},400,Laya.Tween.cubicOut,0); timeL...

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

25. getCharPoint的bug [ 85%]

...g laya.core.js的getCharPoint这个函数里,有这样一句话:len += lines[i].length;   请将其改成:len += lines[i].length + 1;   显然开发者没在多行的情况下测试这个函数,换行这种事肯定是末尾有个换行符才会换的嘛!   上面的length没考虑换...

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

26. 3D场景里面怎么画线条 [ 85%]

...= new Laya.Vector3(0,0,100);     phasorSpriter3D.begin(Laya.WebGLContext.LINES, camera); phasorSpriter3D.line(_corners[0], _color, _corners[1], _color); phasorSpriter3D.line(_corners[1], _color, _corners[2], _color); phasorSpriter3D.line(_corners[2], _color, _corners[3], _color); phasorSpriter3D.l...

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

27. uglify压缩后的错误堆栈解析 [ 85%]

...inalPosition.source const originalPosition = consumer.originalPositionFor({line:frame.line, column:frame.column}); console.log(originalPosition); // 错误所对应的源码 // const sourceContent = consumer.sourceContentFor(originalPosition.source); // console.log(sourceContent); // const generated...

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

28. laya.d3.shader.ShaderPass [ 84%]

...sProtected Methods  MethodDefined By  _compileToTree(parent:ShaderNode, lines:Array, start:int, includefiles:Array, defs:Object):void[override] ShaderPassProperty DetailrenderStatepropertyrenderState:RenderState  [read-only] 获取渲染状态。 Implementation     public function get rende...

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

29. 发布时勾选压缩js后,gulp uglify生成的sourcemap在哪里 [ 83%]

...inalPosition.source const originalPosition = consumer.originalPositionFor({line:frame.line, column:frame.column}); console.log(originalPosition); // 错误所对应的源码 // const sourceContent = consumer.sourceContentFor(originalPosition.source); // console.log(sourceContent); // const generated...

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

30. HTML行间距 [ 83%]

HTML行间距 请问怎么给SPAN标签内容设置行间距,line-height似乎无效。 2017-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 2017-09-11 0 0 分享 微博 QZONE 微...

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