• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0046 秒)

1391. 在list的data中给HTMLDIVElement 的innerHTML赋值不成功 [ 43%]

...;">'+"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

1392. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 43%]

...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

1393. 物理系统之FixedConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 43%]

...束的力的阈值 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

1394. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 43%]

...节点名 */ 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

1395. 物理系统之FixedConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 43%]

...束的力的阈值 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

1396. 体验LayaAir 3.0.0-beta.4遇到的一些问题 [ 43%]

... 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

1397. 求HTTP相关的文档或者例子谢谢了 [ 43%]

...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

1398. 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) [ 43%]

...ber):void { trace("加载了总文件的:"+pro+"%") progressBar.value=pro; if(progressBar.value==1) { progressBar.value=1; } } } }输出结果:(由于本示例中图片的加载速度很快,所以可能无法看到加载条的加载进度,但是我们可以看到输出结果) LoadingDemo.rar 2...

来源: Laya_社区 发布时间: 20160509

1399. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 42%]

...链接 提交 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

1400. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 42%]

...nLoading,null,false));//预载资源 //加载进度 function onLoading() { if(loadcount>0) { loadcount--; Xinxi.text=("正在载入相关资源...剩余"+loadcount+"文件"); ProgressBar.value=(1-loadcount/length)*100; } } //资源加载完毕回调函数 function LoadResComplete() { ProgressBarP...

来源: Laya_社区 发布时间: 20171207