大约有 60 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
Laya_社区(44) Laya2.0_api(4) Laya3.0_文档(3) Laya3.0_api(3) laya_api(2) Laya2.0_文档(2) Laya_示例(1) Laya2.0_示例(1)
...){ isRotate = !isRotate; } // this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); // this.phasorSpriter3D.end(); } var Stage = Laya.Stage...
来源: Laya_社区 发布时间: 20170323
...st.js:var staticHelp = /\bstatic\b\s+\w+:((?:\w+\.?)+)\s*=\s*new\s+/ var line = " static wallet:com.battlecry.idle_m.data_proto.WalletModel;" var a=staticHelp.exec(line); console.log(a);的确会卡死。应该是你们的这个tsSort里面的正则有问题吧。 多谢 附件 : --> laya...
来源: Laya_社区 发布时间: 20181115
...不要用TextImput,用TextArea即可 获取行高:textArea.textField.lines.length 2017-06-16 0 2 分享 微博 QZONE 微信 cuixueying 赞同来自: 测试代码: var text:TextInput=new TextInput(); text.wordWrap=true; text.width=200; text.height=200; text.text="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
来源: Laya_社区 发布时间: 20170616
...hain(ropeA, 0.5, 0, -0.5, 0, { stiffness: 0.8, length: 2, render: { type: 'line' } }); Composite.add(ropeA, Constraint.create({ bodyB: ropeA.bodies[0], pointB: { x: -25, y: 0 }, pointA: { x: ropeA.bodies[0].posit...
来源: Laya_社区 发布时间: 20180323
...rigin.y + " z" + rayOrigin.z) this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, LayaAir3D.camera); this.phasorSpriter3D.line(this._linePos, this._color, this.ray.origin, this._color); this.phasorSpriter3D.end(); console.log("碰撞检测" + this.outHitInfo.distance);//一直都是-1 附件 : --...
来源: Laya_社区 发布时间: 20180316
...taxError:Cannot assign to the loop variable inside a for-in loop header at line 6089 LAYABOX版本2.2 IOS真机发布NATIVE版本0.9.10 编译器17.10 2017-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20171009
...ay.Graphics类可以查看到该API的各种矢量绘图方法。其中drawLine();用于绘制矢量直线。该方法的详细说明如下图所示:  (图1) 下面我们用LayaAir引擎画一条直线,示例代码如下: ```java package { import laya...
来源: Laya2.0_文档 发布时间: 20210714
...xArea); texArea.hScrollBarSkin = ""; texArea.wordWrap = true; texArea.multiline = true; texArea.editable = true; texArea.text = "顶与底的列表尽头可拉动刷新,单元格按住左滑可唤出操作菜单。"; texArea.font = "Microsoft YaHei"; texArea.fontSize = 22; texArea.color = "#ffffff...
来源: Laya2.0_示例 发布时间: 20260303
...种矢量绘图方法。 drawRect fillText drawPath drawCircle drawPie drawLine drawLines drawPoly drawCurves ...... 下面将对这些Graphics进行讲解。 二、绘制矩形与圆角矩形 2.1 IDE绘制矩形 在Sprite对象的 Graphics 组件中,可以通过点击 + 来创建一个绘制图...
来源: Laya3.0_文档 发布时间: 20251010
..., mx, true); target.graphics.moveTo(p1.x, p1.y); target.graphics.lineTo(p2.x, p2.y); target.graphics.lineTo(p3.x, p3.y); target.graphics.lineTo(p4.x, p4.y); target.graphics.lineTo(p1.x, p1.y); 3、_mx.createGradientBox(_w, _w);(_mx为Matrix) 4、_shadow.graphics.beginGradien...
来源: Laya_社区 发布时间: 20160627