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

大约有 339 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)

11. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 86%]

...rdMaterial.SmoothnessSource_MetallicGlossTexture_Alpha; var barrel = scene.getChildByName("Wooden_Barrel") as Laya.MeshSprite3D; var barrel1 = scene.getChildByName("Wooden_Barrel (1)") as Laya.MeshSprite3D; var barrel2 = scene.getChildByName("Wooden_Barrel (2)") as Laya.MeshSprite3D; var barrel3 = s...

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

12. PBRStandardMaterial材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 85%]

...oothnessSource_MetallicGlossTexture_Alpha; var barrel:MeshSprite3D = scene.getChildByName("Wooden_Barrel") as MeshSprite3D; var barrel1:MeshSprite3D = scene.getChildByName("Wooden_Barrel (1)") as MeshSprite3D; var barrel2:MeshSprite3D = scene.getChildByName("Wooden_Barrel (2)") as MeshSprite3D; var ...

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

13. as还能用getChildByName方法吗? [ 83%]

as还能用getChildByName方法吗? as还能用getChildByName方法吗? 要怎么使用啊? Laya.stage.getChildByName("egg"+i); this.getChildByName("egg"+i); Laya.getChildByName("egg"+i); 都不对 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

14. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 83%]

...Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(...

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

15. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 83%]

...Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(...

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

16. 2.6.1物理bug [ 83%]

... this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getCh...

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

17. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 83%]

...3d Laya.stage.addChild(scene); //获取摄像机 var camera:Camera = scene.getChildByName("Main Camera") as Camera; //清除摄像机的标记 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; direc...

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

18. Unity插件导出后获取不了Scene子集 [ 82%]

...Ts脚本编写导入ls文件 问题导入后场景显示,但是用scene.getChildByName去抓对象却是空的,然后调试查看Scene下子集都是0 代码流程如下: var scene = Laya.Scene.load("res/LayaMain/main.ls") Laya.stage.addChild(scene); var camera: Laya.Camera = (scene.getChildBy...

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

19. rigidBody.applyForce 物体不会移动 [ 82%]

...(scene); //添加方向光 var directionlight: Laya.DirectionLight = scene.getChildByName( "Directional Light" ) as Laya.DirectionLight; this.directionlight = directionlight; //加入子層人物腳色到舞台 var littleGirl: Laya.Sprite3D = scene.getChildByName( "Girl" ) as Laya.Sprite3D; scene.ad...

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

20. 2.6物理问题 [ 82%]

... this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getCh...

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