大约有 238 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
...reset setByMatrix setColor _filter DELTA_INDEX GRAY_MATRIX IDENTITY_MATRIX LENGTH Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... home = _gamePage._mainPage._playPage; for(var i = 0; i < event.pairs.length; i++) { var pair = event.pairs[i]; if(!(pair.bodyA.label === 'gun' || pair.bodyB.label == "gun")) continue; var other; if (pair.bodyA.label === 'gun') { other = pair.bodyB; } else { other = pair.bodyA; } swit...
来源: Laya_社区 发布时间: 20180601
..._boneNames=[]; var boneCount=LoadModelV05._readData.getUint16(); boneNames.length=boneCount; for (i=0;i < boneCount;i++) boneNames[i]=LoadModelV05._strings[LoadModelV05._readData.getUint16()]; 解析模型的时候 可以看到boneCount的值是0 所以才导致boneNames的长度为0 但是文档...
来源: Laya_社区 发布时间: 20190516
...索引不再可索引范围,则终止该函数 if(index > this.data.length)return; //获取当前渲染条目的数据 var listData = this.data[index]; console.log(listData); //根据子节点的名字listNumber,获取子节点对象。 //var img = cell.getChildByName("listNumber") ; var img ...
来源: Laya_社区 发布时间: 20170914
..._1.emiter.jscObj = json.jscObj; // yield相当于await if (!this.tsCongfig.length || (yield this.compile())) { //确认编译结果 this.checkAllDir(""); } else { console.log("compile fail!"); } }); } 复制代码[/code] 其中__awaiter是一个编译工具函数,相当于async/await ,因为引...
来源: Laya_社区 发布时间: 20200925
...&& index >-1 && index < this.currSlotData.displayArr.length){ this.displayIndex=index; this.currDisplayData=this.currSlotData.displayArr[index]; if (this.currDisplayData){ var tName=this.currDisplayData.name; this.currTexture=this.templet.getTexture(tName); if (this.currTexture...
来源: Laya_社区 发布时间: 20180106
... 0 ? url.substr(0, idx + 1) : ""; for (var i:int = 0, len:int = toloadPics.length; i < len; i++) { toloadPics[i] = folderPath + toloadPics[i]; } } else { //不带图片信息 toloadPics = [url.replace(".json", ".png")]; } for(i = 0;i<toloadPics.length;i++) { var tempAtlasPngUrl:String = toload...
来源: Laya_社区 发布时间: 20180830
... keyframeNodeOwner.indexInList = this._keyframeNodeOwners.length; keyframeNodeOwner.referenceCount = 1; keyframeNodeOwner.propertyOwner = propertyOwner; keyframeNodeOwner.nodePath = node.nodePath; keyframeNodeOw...
来源: Laya_社区 发布时间: 20240517
...id { let uiResArray = []; let muduleName; for (let index = 0, len = mNames.length; index < len; index++) { muduleName = mNames[index]; uiResArray.push({ url: bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName), type: Laya.Loader.ATLAS }); } Laya.loader.load(uiResArra...
来源: Laya_社区 发布时间: 20170905
...: 1048 关注: 1 人 标 • 2018-05-14 15:36 n 的值大于 this._childs.length 的值,然后报错。 标 • 2018-05-14 15:47 偶然会报错。偶尔不会
来源: Laya_社区 发布时间: 20180514