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

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

1531. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 49%]

...) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflecti...

来源: Laya2.0_文档 发布时间: 20210715

1532. Laya.Sprite3D.instantiate克隆的对象过多,渲染不出来 [ 49%]

...20个扇形平成的圆环 this.m_vLastPos = this.m_circle.transform.localPosition; for(index = 0; index < 10; index++){ var circle = Laya.Sprite3D.instantiate(this.m_circle) this.m_pillar.addChild(circle); this.m_arrCircle.push(circle); this.m_vLastPos.y -= 60; circle.transform.localPosition = t...

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

1533. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...vg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); 怎么运行上边这段代码呢?打开谷歌浏览器,随便打开一个空白网页,F12,把上面的代码粘贴到控制台,然后...

来源: Laya3.0_文档 发布时间: 20251010

1534. 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 [ 49%]

...:深圳南山 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分...

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

1535. 使用发光滤镜后的第一个遮罩效果无效 [ 49%]

...无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 2d拖尾效果...

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

1536. 怎么获取手机相册内容 [ 49%]

...型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file.style.zIndex = 999; Browser.document.body.appendChild(file);//添加到页面; file.onchange = function(e):void { if(file.files.length>0) { fileReader.readAsDataURL(file.files[0]); } }; var fil...

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

1537. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 49%]

...addNewParticlesToVertexBuffer():voidShurikenParticleSystem  addParticle(position:Vector3, direction:Vector3, time:Number):BooleanShurikenParticleSystem  clone():* 克隆。 ShurikenParticleSystem  cloneTo(destObject:*):void 克隆。 ShurikenParticleSystem  emit(time:Number):Boolean 发射...

来源: laya_api 发布时间: 20170929

1538. IOS-app内购(恢复购买) [ 49%]

...内存泄露以及恢复图片显示闪烁 iosapp获取到的soundChannel.position总是为0,导致不能继续播放 请问2.0 删除脚本后再编译, GameConfig.ts 会自动恢复import和 reg, 然后报找不到该脚本的模块的错误 该如何处理 谢谢 关于safari横屏时调出地...

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

1539. 关于要自定shader的同学 [ 49%]

... constructor () { super(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES...

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

1540. 背景音乐来回切换报错 [ 49%]

...  }else{                 mainSound.startTime = mainSound.position;             }         })          this.btn_sound_ex.on(Laya.Event.CLICK,this,function(){             mainSound = null;             if (dreamsSound == null) {   ...

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