大约有 1,753 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1324) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(37) Laya_示例(24) Laya2.0_示例(3)
...) { 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
...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
...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
...:深圳南山 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分...
来源: Laya_社区 发布时间: 20180616
...无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 2d拖尾效果...
来源: Laya_社区 发布时间: 20220531
...型。 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
...addNewParticlesToVertexBuffer():voidShurikenParticleSystem addParticle(position:Vector3, direction:Vector3, time:Number):BooleanShurikenParticleSystem clone():* 克隆。 ShurikenParticleSystem cloneTo(destObject:*):void 克隆。 ShurikenParticleSystem emit(time:Number):Boolean 发射...
来源: laya_api 发布时间: 20170929
...内存泄露以及恢复图片显示闪烁 iosapp获取到的soundChannel.position总是为0,导致不能继续播放 请问2.0 删除脚本后再编译, GameConfig.ts 会自动恢复import和 reg, 然后报找不到该脚本的模块的错误 该如何处理 谢谢 关于safari横屏时调出地...
来源: Laya_社区 发布时间: 20180226
... 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
... }else{ mainSound.startTime = mainSound.position; } }) this.btn_sound_ex.on(Laya.Event.CLICK,this,function(){ mainSound = null; if (dreamsSound == null) { ...
来源: Laya_社区 发布时间: 20190716