大约有 2,313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
Laya_社区(1516) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...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
...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
...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
...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
... templet.buildArmature(1); this.pos1.addChild(this.skeleton); this.skeleton.play("work", true); }); templet.loadAni("spine/ndz01/ndz01.sk"); 我龙骨是这样调用的,后面不用了,我就 this.skeleton.destroy(...
来源: Laya_社区 发布时间: 20210811
...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
...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
...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
... win:LoginSceneRT = res.create(); mainRT.SceneLayer.addChild(win); }); //销毁预制提 win.destroy(); //如何回收此预制体依赖的资源项:目前通过引擎源码只看到预制依赖预制的关系,但如Image等其他资源项则没法获得,无法获得 也...
来源: Laya_社区 发布时间: 20251223
...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