大约有 238 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...个圆型扇出 Angle DEG:形状的圆形方面的角度 Radius:半径 Length:长度 Emit from:发射方式 Base:基于锥形底部 Base Shell:基于锥形底部壳 Volume:基于锥形内部 Volume Shell:基于锥形内部壳 Randomize Direction:随机化方向 (动图9)展示...
来源: Laya3.0_文档 发布时间: 20250104
...毁地图层的代码 var tLayer:MapLayer; for (i = 0; i < _layerArray.length; i++) { tLayer = _layerArray[i]; tLayer.clearAll(); } ........ }然后在MapLayer的clearAll()里面会去销毁子节点GridSprite /** * @private * 清理当前对象 */ public function clearAll():void { ....... var tG...
来源: Laya_社区 发布时间: 20180503
... __proto.getInt16=function(){ if (this._pos_+2 > this._length)throw "getInt16 error - Out of bounds"; var us=this._d_.getInt16(this._pos_,this._xd_); this._pos_+=2; return us; } 只在那个 If 那一行报错了 pos的大...
来源: Laya_社区 发布时间: 20181025
...et u8 = tex.getData(0, 0, tex.width, tex.height) let u = new Uint8Array(u8.length) let len = u8.length / 4 let i = 0 for (let x = len; x >= 0; x--) { for (let y = 0; y < 4; y++) { u[i * 4 + y] = u8[x * 4 + y] } i++ } u8 = u u = new Uint8Array(u8.length) len = u8.length / s.height let l2 = len ...
来源: Laya_社区 发布时间: 20210911
...data); return; } if (this._input.length > 0 && this._input.bytesAvailable < 1) { this._input.clear(); this._addInputPosition = 0; } var pre: number = this._input.pos; !this...
来源: Laya_社区 发布时间: 20220822
...als:Laya.Material[]):Laya.CommandBuffer{ if(this.renders.length == 0 || this.materials.length == 0 ) return; var buf:Laya.CommandBuffer = new Laya.CommandBuffer(); //当需要在流程中拿摄像机渲染效果的时候...
来源: Laya_社区 发布时间: 20210203
...竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 2017-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 182*****369 赞同来自: cuixueying 已解决,当destroy函数调...
来源: Laya_社区 发布时间: 20170829
...eItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.ad...
来源: Laya_社区 发布时间: 20180516
...sKey.split("/"); let pkg: any = fgui.UIPackage.getByName(urlNames[urlNames.length - 1]); if (!pkg) { let descData: any = Laya.loader.getRes(resKey + "." + fgui.UIConfig.packageFileExtension); if (!descData) { this.onComplete(resKey, otherLoadData, complete, progress, loadData); return; } pkg = fgui....
来源: Laya_社区 发布时间: 20191107
...is.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color; if (cssStyle.stroke){ var stroke=cssStyle.stroke; stroke=parseInt(stroke); var strokeColor=cssStyle.strokeColor; graphic.fillBorderWords(words,gX...
来源: Laya_社区 发布时间: 20190611