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

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

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

...t-Teapot001.lm", Laya.Handler.create(null, function(mesh) { 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.PBRStandardMate...

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

1832. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 50%]

...skinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

来源: Laya3.0_api 发布时间: 20231115

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

...ex++){ 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 = this.m_vLastPos; circle.active = true; } 2018-08-09 0 0 分享 微博 QZONE 微信 luckybryce 赞同来自: 回馈一...

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

1834. laya.d3.core.trail.TrailSprite3D_API3.0 [ 50%]

...trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent ge...

来源: Laya3.0_api 发布时间: 20231115

1835. 龙骨删除后内存不减少 [ 50%]

... templet.buildArmature(1);                          this.pos1.addChild(this.skeleton);             this.skeleton.play("work", true);         });         templet.loadAni("spine/ndz01/ndz01.sk"); 我龙骨是这样调用的,后面不用了,我就  this.skeleton.destroy(...

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

1836. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 50%]

...aphics.drawRect(0,0,100,100,"#FF0000"); sp.zOrder=1000; mapLayer.addChild(sp); Laya.timer.loop(200,this,onLoop); } private var aaa:Number=0; private var bbb:Number=0; private function onLoop():void { aaa--; sp.x++; tiledMap.moveViewPort(aaa,bbb); } spooner • 2017-05-25 12:25 例子如何...

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

1837. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 50%]

...lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); ...

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

1838. laya.ui.VBox_API3.0 [ 50%]

...port visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

来源: Laya3.0_api 发布时间: 20231115

1839. [LayaAir3]LayaAir3 预制体销毁时如何回收其依赖的资源 [ 50%]

...    win:LoginSceneRT = res.create();             mainRT.SceneLayer.addChild(win); }); //销毁预制提 win.destroy(); //如何回收此预制体依赖的资源项:目前通过引擎源码只看到预制依赖预制的关系,但如Image等其他资源项则没法获得,无法获得 也...

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

1840. laya.ui.HBox_API3.0 [ 50%]

...ort visible width x y zOrder Methods _initialize _processActive _setHeight addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

来源: Laya3.0_api 发布时间: 20231115