大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0129 秒)
...(data, [0]), w = imageData.width, h = imageData.height, i = 0, l = data.length, x, y, d for (i; i < l; i += 4) { if (data[i]!== 0) { console.log(data[i]) } x = i / 4 % w y = Math.ceil(i / 4 / w) - 1 d = Math.ceil(20 * Math.sin(0.071 * y)) if (x + d <= 0 || x + d > w) { data[i + 3] = 0 } els...
来源: Laya_社区 发布时间: 20171130
... It must be resumed (or created) after a user gesture on the page. <URL> Scene.ts:402 Error loading Loading.ls: Error: unknown type 'xmaaYG8AQ1yC07pr_JvyPA' (anonymous) @ Scene.ts:402 Promise.then (async) load @ Scene.ts:395 open @ Scene.ts:441 (anonymous) @ index-142c5.js:62 Promise.then (asy...
来源: Laya_社区 发布时间: 20240724
...mationTemplet} = {}; private meshes : Array<MeshSprite3D> = []; private OnHierarchyLoaded() { for (let v of this._childs[0]._childs) { let mesh = v as MeshSprite3D; mesh.addCompon...
来源: Laya_社区 发布时间: 20170608
...e ... ot%3B,1); this.htmlvideo.video.addEventListener("loadedmetadata",()=>{ var videoTexture:Laya.VideoTexture = new Laya.VideoTexture(); videoTexture.video = this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.vi...
来源: Laya_社区 发布时间: 20240305
...合批报错. 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2017-11-...
来源: Laya_社区 发布时间: 20171118
...xt: string, createURL: string, progress?: IBatchProgress): Promise<void> Defined in laya/spine/SpineTemplet.ts:39 Parameters desc: string | ArrayBuffer atlasText: string createURL: string Optional progress: IBatchProgress Returns Promise<void> _removeReference _removeReference(count?: nu...
来源: Laya3.0_api 发布时间: 20231115
...确实有些不合乎情理。退一步说,其实问题不在于 5000 > 500+500+500+500。不知道您有没有测试,把每个label的动画时间改成30000ms后仍然不会有延迟5000ms的效果,而是立马就开始缓动。实际上开发者经常会需要,对每个label的缓动...
来源: Laya_社区 发布时间: 20170410
...sIncPower) { //蓄力速度 this.currentPower += 5; if (this.currentPower >= this.powerTotal) { this.currentPower = this.powerTotal; // this.NodePowerProgressBg.skin = this.powerProgressRedSprite; this.isIncPower = false; return; } } else { //减少蓄力速度 this.currentPower -= 2.4; if (this....
来源: Laya_社区 发布时间: 20190909
...上面播放没问题然后我要做个点击切换 //_outHitAllInfo.length;这个已经获取到了。射线获取的 //是不是我Event.COMPLETE写错了?应该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () { for (var i = 0; i < ...
来源: Laya_社区 发布时间: 20170927
...meta name="laya" screenorientation ="sensor_portrait"/> 一致的 helloworldlv • 2017-11-30 22:04 之前看差了,你xcode里面设置的是landscape right landscape right和HTML和ini里不一致啊 改一下试试呢 xtcel5805 • 2017-11-30 17:50 配的6 xtcel5805 • 2...
来源: Laya_社区 发布时间: 20171127