大约有 42 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0031 秒)
...17-09-12 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6); 把环境光调亮点 2017-09-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ltmking 相关问题 关于微...
来源: Laya_社区 发布时间: 20170912
...的? var pointLight = scene.addChild(new Laya.PointLight()); pointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); pointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); pointLight.diffuseColor = new Laya.Vector3(1, 1, 1); pointLight.transform.translate(new Laya.Vector3(0, 30, 0)); point...
来源: Laya_社区 发布时间: 20170714
...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.ambientColor = new Vector3(0.6, 0.6, 0.6); directionLight.specularColor = new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor = new Vector3(0.6, 0.6, 0.6); directionLight.direction = new Vector3(1, -1, 0); 2017-03-20 0 2 ...
来源: Laya_社区 发布时间: 20170319
...is.scene = new Laya.Scene3D(); Laya.stage.addChild(this.scene); this.scene.ambientColor = new Laya.Vector3(0.5, 0.5, 0.5); //初始化相机 var camera = new Laya.Camera(0, 0.1, 100); this.scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya...
来源: Laya_社区 发布时间: 20191209
...法二:可以给场景中添加方向光,把方向光的环境光颜色ambientColor = new Vector3(0.0, 0.0, 0.0); 2017-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xujiasen2015 相关问题 看了其他引擎才发现 LAYA ...
来源: Laya_社区 发布时间: 20170524
...自: var spointLight = scene.addChild(new Laya.SpointLight()); spointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); spointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); spointLight.diffuseColor = new Laya.Vector3(1, 1, 1); spointLight.transform.translate(new Laya.Vector3(0, 30, 0)); s...
来源: Laya_社区 发布时间: 20171106
...etailUrl1:String, detailUrl2:String, detailUrl3:String, detailUrl4:String, ambientColor:Vector3, diffuseColor:Vector3, specularColor:Vector4, sx1:Number = 1, sy1:Number = 1, sx2:Number = 1, sy2:Number = 1, sx3:Number = 1, sy3:Number = 1, sx4:Number = 1, sy4:Number = 1):voidTerrainChunk callLater(me...
来源: Laya2.0_api 发布时间: 20190513
...ONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); La...
来源: Laya_示例 发布时间: 20241125
...,1 发现效果不明显,所以改大一些方便查看效果) scene.ambientColor = new Laya.Vector3(10,10,10) 我添加了环境色,并且截了图,发现阴影的颜色并没有改变(由于评论不能传图,所以我添加了一个回复在您的回复下方,请您查看)
来源: Laya_社区 发布时间: 20180526
...ght=scene.addChild(new DirectionLight()) as DirectionLight; directionLight.ambientColor=new Vector3(0.6, 0.6, 0.6); directionLight.specularColor=new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor=new Vector3(1.6, 1.6, 1.6); directionLight.direction=new Vector3(1, -1, 0); //添加自定义模型...
来源: Laya_社区 发布时间: 20170331