大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0046 秒)
...;">'+"fgdfdfgdfgdfgdf"+'</span>'}, visible:true }; if(chatListData[i].state==0){ arr.push({ friends:obj, my:{visible:false} }); }else{ arr.push({ my:obj, friends:{visible:false} }); } } chatList.array=arr; } 130*****113 • 2018-03-22 20:45 谢谢各位大神
来源: Laya_社区 发布时间: 20180319
...ationClip = Loader.getRes("res/gltfMode/Aniamtor/dalaozuo-dalaozuo.lani"); if (!clip) return; var layer: AnimatorControllerLayer = new AnimatorControllerLayer("test"); var animatorState: AnimatorState = new AnimatorState(); animatorState.clip = clip; layer.addState(animatorState); layer.defaultState...
来源: Laya2.0_文档 发布时间: 20210715
...束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约...
来源: Laya2.0_文档 发布时间: 20210715
...节点名 */ private function findChild(sp:Sprite3D,name:String):Sprite3D{ if(sp.name==name) return sp; else return _findChild(sp._children,name); } private function _findChild(spArr:Array,name:String):Sprite3D{ var arr:Array = []; for(var i:int = 0;i (图 new)新版本骨骼挂点 ### 老版本...
来源: Laya2.0_文档 发布时间: 20210714
...束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约...
来源: Laya2.0_文档 发布时间: 20210715
... const rig = this.basketball.getComponent(Laya.Rigidbody3D); if (rig) { //默认不生效呢??? // rig.restitution = 0.9; // rig.gravity = new Laya.Vector3(0, -10, 0); // rig.overrideGravity = true; ...
来源: Laya_社区 发布时间: 20230220
...oader=new URLLoader(); this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables"; this.publicloader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.checkListComp)); this.url=new URLR...
来源: Laya_社区 发布时间: 20151217
...ber):void { trace("加载了总文件的:"+pro+"%") progressBar.value=pro; if(progressBar.value==1) { progressBar.value=1; } } } }输出结果:(由于本示例中图片的加载速度很快,所以可能无法看到加载条的加载进度,但是我们可以看到输出结果) LoadingDemo.rar 2...
来源: Laya_社区 发布时间: 20160509
...链接 提交 1 个回复 134*****987 赞同来自: 零下的孤單 ps="#ifdef HIGHPRECISION\n precision highp float;\n#else\n precision mediump float;\n#endif\n\nvarying float v_Discard;\nvarying vec4 v_Color;\nvarying vec2 v_TextureCoordinate;\nuniform sampler2D u_texture;\nuniform vec4 u_Tintcolo...
来源: Laya_社区 发布时间: 20190412
...nLoading,null,false));//预载资源 //加载进度 function onLoading() { if(loadcount>0) { loadcount--; Xinxi.text=("正在载入相关资源...剩余"+loadcount+"文件"); ProgressBar.value=(1-loadcount/length)*100; } } //资源加载完毕回调函数 function LoadResComplete() { ProgressBarP...
来源: Laya_社区 发布时间: 20171207