大约有 512 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(371) Laya2.0_文档(52) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(23) Laya3.0_api(1) Laya2.0_api(1)
...ulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210714
...tacktracey(errorStack); // 解析错误信息 const { readFileSync } = fs; for(const frame of tracey.items) { // frame.fileName const sourceMapContent = JSON.parse(readFileSync(mapFilePath, 'utf8')); const consumer = await new sourceMap.SourceMapConsumer(sourceMapContent); // console.log(frame); // ...
来源: Laya_社区 发布时间: 20190528
...cene.physicsSimulation.shapeCastAll(sphereCollider, from, to, hitResults); for (i = 0, n = hitResults.length; i 该示例中射线摆放的半透明模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210715
...hild(spriteEffect) let effectChilds: any = spriteEffect._childs[0]._childs for (let v of effectChilds) { //v.particleSystem.emission.emissionRate = 10 v.particleSystem.play() } }
来源: Laya_社区 发布时间: 20180409
.../** *@private *清掉播放完成的音频 *@param force 是否强制删掉所有的声音channel */ __proto._onAniSoundStoped=function(force){ var _channel; for (var len=this._soundChannelArr.length,i=0;i < len;i++){ ...
来源: Laya_社区 发布时间: 20190827
...EquipArr = BagData.ins.getItemByType(PackType.item_); //遍历装备列表 for(var i:int = 0; i < allEquipArr.length; i++) { var itemlo:ItemConfigLO = BagData.ins.getItemConfigLOById(allEquipArr[i].baseId.toString()); //装备类型分类再显示 if(itemlo) { data.push({itemImg:""+item...
来源: Laya_社区 发布时间: 20180321
...scene.addChild( new Laya.Camera(0, 0.1, 100) ) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clo...
来源: Laya_社区 发布时间: 20220721
...mini类库小BUG反馈 class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (url.indexOf(MiniAdpter.nativefiles[i]) == 0) return true; } return false; }[/i] (Laya2.8.0切换类库后发现)判断不应为==0 附件 : -...
来源: Laya_社区 发布时间: 20201107
...is.itemSpr.cacheAsBitmap = false; this.addChild(this.itemSpr); //卡马克 for (var i: number = 0; i < 15; i++) { var attItem: HeadItem = new HeadItem; attItem.x = i * this.OFF_X; this.itemList.push(attItem); this.itemSpr.addChild(attItem); } let maskSp:Laya.Sprite = new Laya.Sprite; maskSp.graph...
来源: Laya_社区 发布时间: 20170913
...t] : text; if (!args || args.length <= 0) { this._text = text; } else { for (var i:int = 0, n:int = args.length; i < n; i++) { text = text.replace("{" + i + "}", args[i]); } this._text = text; } } 3、HTTPRequest中错误输出:前面的status和statusText都是空的 根本打印不出任...
来源: Laya_社区 发布时间: 20180820