大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
...卡顿,而且会显示倒带 private onLoop(){ if(this.WheelList.visible==true) { this.WheelList.set_visible(false); this.WheelList2.set_visible(true); ...
来源: Laya_社区 发布时间: 20201025
...reate(this, (success: boolean) => { if (!success) { console.error("OPPOSANS-R ttf 字体加载失败"); } else { console.log("OPPOSANS-R ttf ...
来源: Laya_社区 发布时间: 20201104
...exture2D.<anonymous> (laya.d3.js:21347) at Shader3D.__proto._uniform_sampler2D (laya.d3.js:28631) at Shader3D.__proto.uploadSpriteUniforms (laya.d3.js:28751) at RenderQueue.__proto._render (laya.d3.js:4070) at Scene.__proto._renderScene (laya.d3.js:26518) at Camer...
来源: Laya_社区 发布时间: 20171120
...背景图到了下面不可见的位置,立即调整位置到最上面 if(this.bg1.y+this.y>=852){ this.bg1.y-=852*2 } //如果背景2到了最下面 if(this.bg2.y+this.y>=852*2){ this.bg2.y-=852*2 } } })(); 2019-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20191017
...因为项目都是4.X以上甚至5.X以上了),正解应该是1 // if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) { if (typeof this._oDrawing.makeImage == "function") { 2020-04-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20180412
... < sz;i++){ var index=this._indexMap[this._valueArr.charAt(i)]; if (!this.sources[index])continue ; texture=this.sources[index]; if (isHorizontal)this.graphics.drawTexture(texture,dX+i *(texture.sourceWidth+this.spaceX),0,texture.sourceWidth,texture.sourceHeight); else this.gr...
来源: Laya_社区 发布时间: 20180228
...a = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData), "post", "json", ["content-type","application/json"]); function processHandler(data){ console.log (data) } function completeHandler(e){ console.log (xhr.data) }; function errorHandler(data){ console.log (...
来源: Laya_社区 发布时间: 20180824
...]; var boneY:Number = tParentTransform.y + curOriginalData[tStartIndex++]; if (tSrcBone.name == boneName) { arrCoords.push(boneX); arrCoords.push(boneY); break; } if (_templet.tMatrixDataLen === 8) { tStartIndex++; tStartIndex++; } } } return arrCoords; }[/i] 2020-10-13 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190828
...orm, convexPosFrom); bt.btTransform_setOrigin(convexTransTo, convexPosTo); if (fromRotation) { bt.btQuaternion_setValue(convexRotFrom, -fromRotation.x, fromRotation.y, fromRotation.z, -fromRotation.w); bt.btTransform_setRotation(convexTransform, convexRotFrom); } else { bt.btTransform_setRotation(co...
来源: Laya_社区 发布时间: 20201017
...链接 - https://github.com/sindresorhu ... ex.js 'use strict'; const modifyFilename = require('modify-filename'); module.exports = (pth, hash) => { if (!(pth && hash)) { throw new Error('`path` and `hash` required'); } return modifyFilename(pth, (filename, ext) => `${filename}-${hash}...
来源: Laya_社区 发布时间: 20200831