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

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

1. 物体加上Rigidibody 之后运动 Matrix.concat 出现a为underfined [ 100%]

物体加上Rigidibody 之后运动 Matrix.concat 出现a为underfined 加上rigidibody之后运行没有出错,点击改变y轴坐标的时候出现的错误,所有的错误信息没有出现我的代码中的某一行出现错误 2019-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

2. 2D物理-仿生机器人 [ 97%]

...50,570,1050,570,1050,200"; for (let i = 1; i 0) { legCollider1.points = p1.concat(p2).concat(p3).join(","); legCollider2.points = [0, 0].concat(B2Math.SubVV(p5, p4)).concat(B2Math.SubVV(p6, p4)).join(","); } else { legCollider1.points = p1.concat(p3).concat(p2).join(","); legCollider2.points = [0, 0...

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

3. Laya2.1.0的BUG!Texture类的getTexturePixels [ 79%]

... var uv=null; if (x !=0 || y !=0 || width !=texw || height !=texh){ uv=uv.concat();我想知道,引擎这段报错代码是什么鬼? Texture类的getTexturePixels 定义:var uv=null; 然后:uv=uv.concat();  ????     附件 : --> 2019-07-05 添加评论 免费帖 --> 分享 微博 QZONE ...

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

4. 其他引擎的Demo-Example_21 [ 76%]

... function onMouseUp() { isDown = false; canvasGraphics.drawPoly(0, 0, path.concat(), color); } function animate() { liveGraphics.clear(); liveGraphics.drawPoly(0, 0, path, color); } })();module laya { import Graphics = Laya.Graphics; import Sprite = Laya.Sprite; import Browser = Laya.Browser; import...

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

5. 其他引擎的Demo-Example_21 [ 75%]

...ouseY); } onMouseUp() { isDown = false; canvasGraphics.drawPoly(0, 0, path.concat(), color); } animate() { liveGraphics.clear(); liveGraphics.drawPoly(0, 0, path, color); } } new PIXI_Example_21();module laya { import Graphics = Laya.Graphics; import Sprite = Laya.Sprite; import Browser = Laya.Brows...

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

6. laya.maths.Matrix_API3.0 [ 74%]

...Index Constructors constructor Properties a b c d tx ty TEMP Methods clone concat copyTo destroy getScaleX getScaleY identity invert invertTransformPoint recover rotate scale setTo setTranslate skew toString transformPoint transformPointN translate create mul mul16 Constructors constructor new Matri...

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

7. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 71%]

...光处理开始 麒麟子添加 var allLights = []; allLights = allLights.concat(scene._directionLights._elements); allLights = allLights.concat(scene._spotLights._elements); allLights = allLights.concat(scene._pointLights._elements); for (let i = 0; i < allLights.length; ++i) { let light = allLi...

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

8. Sprite-屏幕截图 [ 69%]

...E_FIXED_AUTO; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.btnArr.concat("res/apes/monkey3.png"),Laya.Handler.create(this,this.onLoaded)); } createButton(skin, name, cb, index) { var btn = new Laya.Button(skin,name); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,cb); btn.size(147,5...

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

9. laya.maths.Matrix [ 66%]

...。 Matrix  clone():Matrix 返回此 Matrix 对象的副本。 Matrix  concat(matrix:Matrix):Matrix 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 Matrix  copyTo(dec:Matrix):Matrix 将当前 Matrix 对象中的所有矩阵数据复制...

来源: laya_api 发布时间: 20170929

10. laya.maths.Matrix [ 65%]

...。 Matrix  clone():Matrix 返回此 Matrix 对象的副本。 Matrix  concat(matrix:Matrix):Matrix 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 Matrix  copyTo(dec:Matrix):Matrix 将当前 Matrix 对象中的所有矩阵数据复制...

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