大约有 603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(442) Laya2.0_文档(39) Laya3.0_文档(34) Laya_示例(27) Laya3.0_api(24) Laya2.0_示例(21) Laya2.0_api(10) laya_api(6)
...; var i = 0, len = 0; var toPlays; toPlays = this.__toPlays; len = toPlays.length; var tParams; for (i = 0; i < len; i++) { tParams = toPlays[i]; if (tParams[2]) { if (!(tParams[2]).isStopped) { this.play(tParams[0], tParams[1], tParams[2]); } else { tParams[2].audioBuffer = this.audioBuffer; } }...
来源: Laya_社区 发布时间: 20201014
...e,3为VolumeShell。ConeShape enable : Boolean是否启用。BaseShape length : Number椎体长度。ConeShape radius : Number发射器半径。ConeShape randomDirection : Boolean随机方向。BaseShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined...
来源: laya_api 发布时间: 20170929
...e,3为VolumeShell。ConeShape enable : Boolean是否启用。BaseShape length : Number椎体长度。ConeShape radius : Number发射器半径。ConeShape randomDirection : Boolean随机方向。BaseShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined...
来源: Laya2.0_api 发布时间: 20190513
...del.heros.Heros; //获取 MainModel里的武将信息 var leng:int = heros.length; var item:HeroResolveItem; var heroInfo:SHeroInfo; for (var i:int = 0; i < leng; i++) { heroInfo = heros[i]; if (_heroItemList[i] == null) { item = new HeroResolveItem(this.onSelectedHeroChange); _heroItemList[i] = ...
来源: Laya_社区 发布时间: 20170321
...p(1000, this, this.changeSkin); } changeSkin() { mCurrSkinIndex++; let skinLength = mSkinList.length; if (mCurrSkinIndex >= skinLength) { mCurrSkinIndex = 0; } mArmature.showSkinByName(mSkinList[mCurrSkinIndex]); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getA...
来源: Laya2.0_示例 发布时间: 20251209
... = tex.getPixels(0,0,tex.width,tex.height); for (var i=0;i<imgData.data.length;i+=4) { imgData.data[i] = texData[i]; imgData.data[i+1] = texData[i+1]; imgData.data[i+2] = texData[i+2]; imgData.data[i+3] = texData[i+3]; } ctx.putImageData(imgData,0,0); //创建新的sprit...
来源: Laya_社区 发布时间: 20180413
...p(1,this,this.onEnterFrame); } private onEnterFrame():void{ if(this.points.length>0){ if(this.i<this.points.length){ this.ball.x = this.points[this.i].x; this.ball.y = this.points[this.i].y; this.i++; } } } private onClick():void{ // //角度归位 // this.angle = Math.PI; // //小球归位 th...
来源: Laya_社区 发布时间: 20171108
...引不再可索引范围,则终止该函数 if(index<0||index>arr.length)return; var data:Object=arr[index];//获取当前渲染条目的数据 var clip:Clip=cell.getChildByName("clip") as Clip;//获取当前渲染条目的clip组件 var check:CheckBox=cell.getChildByName("check") as CheckBo...
来源: Laya_社区 发布时间: 20170313
...{ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChil...
来源: Laya2.0_文档 发布时间: 20210715
...{ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChil...
来源: Laya2.0_文档 发布时间: 20210715