大约有 800 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0050 秒)
Laya_社区(407) Laya2.0_文档(122) Laya3.0_api(79) Laya2.0_api(73) Laya3.0_文档(56) Laya_示例(43) laya_api(20)
...al/LayaMonkey.ls",Handler.create(this,function(s:Scene3D):void{ Laya.stage.addChild(s); })); ``` (图6)
来源: Laya2.0_文档 发布时间: 20210714
...aScene.lh"], Laya.Handler.create(this, onComplete)); ... var shelf = scene.addChild(Laya.Sprite3D.load("LayaScene_layaScene/layaScene.lh")); shelf.transform.position = new Laya.Vector3(-18.69, 1.1, 43.8); 但是无法加载出来,也没报错 附件 : --> t1.rar 2018-04-12 ...
来源: Laya_社区 发布时间: 20180412
...reateComplete(){ var land = Laya.loader.getRes("land/main.lh"); this.scene.addChild(land); var camera = land.getChildByName("Camera"); camera.addComponent(CMS);//控制脚本 console.log(camera); } 2019-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180807
...pi.filters = spi1.filters = spi2.filters = [blurFilter]; this.owner.parent.addChild(spi); this.owner.parent.addChild(spi1); this.owner.parent.addChild(spi2); // }) }求教以下大佬们,是否还有其他的截屏方法(使用了drawToCanvas,因为3d场景对象比较复杂,无法实现预期...
来源: Laya_社区 发布时间: 20191230
...个UI实例 var plan = new ui.TimeLineUI(); //添加到舞台 Laya.stage.addChild(plan); //播放UI场景中的动画 plan.crashed.play(); }运行时发现ui变量不存在,打控制台打ui,Laya.ui,Laya.TimeLineUI均发现不存在,在文档中也搜到不TimeLineUI的文档,请问这个API...
来源: Laya_社区 发布时间: 20190217
...加3D场景 var scene = Laya.loader.getRes("monkey/monkey.ls"); Laya.stage.addChild(scene); //从场景中获取摄像机 var camera = scene.getChildByName("Main Camera"); //后续对摄像机的逻辑操作....... } } ``` 在Untiy中,摄像机默认名为“Main Camera”,因此在上述代...
来源: Laya2.0_文档 发布时间: 20210715
...(20,"right"); let pixelleft = new PixelLineSprite3D(20,"left"); this.scene.addChild(rightControl); this.scene.addChild(leftControl); this.scene.addChild(pixelright); this.scene.addChild(pixelleft); webXRInput.bindMeshNode(leftControl,WebXRInput.HANDNESS_LEFT); webXRInput.bindMeshNode(rightControl,We...
来源: Laya3.0_文档 发布时间: 20240910
...tion shadowStrength 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
...所指的js模块是一个个单独的界面的话,你可以通过new 和addChild对这些模块进行添加(添加到舞台或者同一个js下的容器里),这些全是开发者自己来操控的!场景的切换就是新界面的添加和旧界面的移除。添加使用new 和 addChil...
来源: Laya_社区 发布时间: 20170424
...nderer timer transform url Methods _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent...
来源: Laya3.0_api 发布时间: 20231115