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

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

21. 灯光-方向光 [ 72%]

...form.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var grid = sce...

来源: Laya_示例 发布时间: 20241001

22. 灯光-点光 [ 70%]

...form.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); poi...

来源: Laya_示例 发布时间: 20241001

23. 灯光-聚光 [ 69%]

...form.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spotLight.direction = new Laya....

来源: Laya_示例 发布时间: 20241001

24. 雪莹姐帮帮忙 看看这个Camera的问题 [ 67%]

雪莹姐帮帮忙 看看这个Camera的问题 关于camera.addComponent(CameraMoveScript);这里的CameraMoveScript写的是控制Camera视角的 有没有视角跟着物体公转的工具类 我们现在想要实现一个打开手机摄像头 跟AR一样的效果 求帮助 2017-02-20 添加评论...

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

25. 材质-BlinnPhong-高光贴图 [ 67%]

...form.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var completeHandler = Laya.Ha...

来源: Laya_示例 发布时间: 20241001

26. 材质-PBRStandard材质 [ 67%]

...() { var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc"); //实例...

来源: Laya_示例 发布时间: 20241001

27. 自定义shader-简单shader [ 67%]

...ra.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vec...

来源: Laya_示例 发布时间: 20241001

28. as3.0下3D引擎中通过滑动控制camera的问题 [ 66%]

...问题,官方示例中给出了这样一个代码,camera.addcomponent(CameraMoveScript);这里的CameraMoveScript是哪儿来的 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...

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

29. 高级应用-闪光 [ 65%]

...form.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript) this.glitter = scene.addChild(new Laya.Glitter()) as Laya.Glitter; var glitterTemplet: Laya.GlitterTemplet = this.glitter.templet; var glitterMaterial: Laya.GlitterMaterial = this.glitter.glitterRender.share...

来源: Laya_示例 发布时间: 20241001

30. 求大神抽空帮忙讲解下2D物理系统,可以付学费 [ 64%]

...光的自定义shader,有很多问题,帮忙看一下 哪位大神有CameraMoveScript.js 大神们? Laya2.2.0beta3 包含的 LayaAir.d.ts 文件,您们编译过吗? 就放出来了 为什么这个图片还是随机切换不了,新手求帮忙 打包问题,在IDE 能够正常调试,...

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