大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...3D.transform.localPosition = new Laya.Vector3(); return true; } else { if (this.link2Node(nodeName, child, Sprite3D)) { return true; } } index++; } return false; } public static unLink2Node(Sprite3D: Laya.Sprite3D) { Sprite3D.removeSelf(); } 2019-09-19 0 3 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20190918
....stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } private setup(): void { var textBox: Sprite = new Sprite(); // 随机摆放文本 var text: Text; for (var i: number = 0; i < 1000; i++) { text = new Text(); text.fontSize = 20; text.text = (Math.random() * 10...
来源: Laya_示例 发布时间: 20260303
...ring(shader.ps, true); shader.conch_id = shader.id; } _.needsz(68); _.wu32(this.id); _.wu32(25); _.wu32(ib.conch_id); _.wu32(vb.conch_id); _.wu32(1); _.wu32(eleNum); _.wu32(iStart); _.wu32(img.imgId); _.wu32(shader.id); var uv = texture.uv; _.wf32(mat.a); _.wf32(mat.b); _.wf32(mat.c); _.wf32(mat.d);...
来源: Laya_社区 发布时间: 20190806
...)(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, onResize); } function initMatter() { var gameWorld = new Sprite(); Laya.stage.addChild(gameWorld); // 初始化物理引擎 engine = Matter.Engine.create( { enableSleeping: true }); Matter.Engine.run(engine); var render...
来源: Laya_示例 发布时间: 20260303
...yfun 赞同来自: 代码压缩后,ui.min.js报错,Uncaught TypeError: this.preinitialize is not a function,官方一直没回复。 2017-08-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 liblayaair.so 总是...
来源: Laya_社区 发布时间: 20170607
... 用于创建该类型对象的方法。 caller:* (default = null) — this对象 Returns* — 此类型标识的一个对象。 getPoolBySign()method public static function getPoolBySign(sign:String):Array 根据对象类型标识字符,获取对象池。 Parameters sign:String — 对象类...
来源: Laya2.0_api 发布时间: 20190513
...aya.stage.bgColor = "#eeffcc"; Laya.loader.load("lang.lang",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var obj:Object=Laya.loader.getRes("lang.lang"); Text.langPacks=obj; var texts:Text=new Text(); texts.text="hello!welcom LayaBox"; Laya.stage.addChild(text...
来源: Laya_社区 发布时间: 20161018
...,不同一点节点下 也是这样 你打开我注释的那行代码, this.Scene3D = Laya.stage.addChildAt(new Laya.Scene3D(), 2) as Laya.Scene3D; 不在一个节点下,也会遮挡 LijiE • 2022-12-01 09:29 3D场景只能放最底下的话,就不能用2D图片做背景了 LijiE • 2022-1...
来源: Laya_社区 发布时间: 20221130
...到了2.1.0beta,每个版本的laya.opendata.min.js文件里都用到了this.fs=wx.getFileSystemManager(), 所以就是所有版本都不能正确运行,都会报 wx.getFileSystemManager is not a function; 是不是laya2.0根本用不了子域项目 2019-06-18 0 7 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20190201
...operty '_tf' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') Uncaught TypeError: Cannot read property 'indexCount' Uncaught TypeError: Cannot read property 'LayaMotionState' of undefined 问题状态 最新活动: 2019-01-14 15:45 浏览: 1726 关注: 4 人
来源: Laya_社区 发布时间: 20190114