大约有 585 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(436) Laya2.0_文档(39) Laya_示例(27) Laya3.0_api(24) Laya3.0_文档(22) Laya2.0_示例(21) Laya2.0_api(10) laya_api(6)
...写_remove __proto._remove=function(index){ this.length--; if (index!==this.length){ var end=this.elements[this.length]; this.elements[index]=end; end._indexInCastShadowList=index; ...
来源: Laya_社区 发布时间: 20181214
...bel(start):start; this.loop=loop; if (this._frames && this._frames.length > 1 && this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto._setFramesFromCache=function(name){ if (name && Animation.framesMap[name]){ this._frames=Animat...
来源: Laya_社区 发布时间: 20161006
... laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++) 引擎代码 i没有赋初值,导致 i<n永远为false. 2020-03-21 2 1 分享 微博 QZONE 微信 腊笔小新 赞同来自: 186*****645 clear() { var elements = this.elements; fo...
来源: Laya_社区 发布时间: 20200206
...I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get GetAxisY(): number { return Laya.stage.mouseY - this.l...
来源: Laya_社区 发布时间: 20170714
...美术资源地址数组) * aniName 动作的名称,用于生成url * length 动画最后一帧的索引值, */ private aniUrls(aniName: string, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命...
来源: Laya_社区 发布时间: 20171228
...I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get GetAxisY(): number { return Laya.stage.mouseY - this.l...
来源: Laya_社区 发布时间: 20190224
...nAniUrl[0]); skinAni.player.play(); } for (var i = 0, n = spirit3D._childs.length; i = [ "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@walk-walk.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@attack-attack.lsani", "../../res/threeDimen/skinModel/Zombie/ol...
来源: Laya_示例 发布时间: 20241125
...a.Event.MOUSE_MOVE,this,bb) }) function bb(e){ s.graphics.clear(); arr[arr.length-1].push(e.stageX); arr[arr.length-1].push(e.stageY); for(var i=0;i<arr.length;i++){ s.graphics.drawLines(0, 0, arr[i], "#ff0000", 5); } }
来源: Laya_社区 发布时间: 20180510
...new Laya.PixelLineSprite3D(); pl.maxLineCount = wayList.length; console.log("线段数量:", wayList.length); this.mainScene.addChild(pl); for (let i = 1; i < wayList.length; i++) { pl.addLine(w...
来源: Laya_社区 发布时间: 20180426
...852; } Class.prototype.loop = function() { for (var i = 0; i < this.img.length; i++) { this.img[i].y += 1; if (this.img[i].y >= 852) { this.img[i].y = -852; } } }; return Class; }()); new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, ...
来源: Laya_社区 发布时间: 20170619