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

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

21. discard property,please use transform's property instead [ 94%]

...ra.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);         //灯光开...

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

22. 拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 [ 94%]

拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 附件 : --> 2018-10-25 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

23. Laya.DirectionLight() 问题, [ 94%]

Laya.DirectionLight() 问题, 在舞台上,前后放两个物体,如何才能让一个物体被光照,另一个物体不被光照。(光照方向延两个物体方向)。 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

24. 2.1版本shader里的u_DirectionLight.Direction在2.6中对应成了什么东西? [ 93%]

2.1版本shader里的u_DirectionLight.Direction在2.6中对应成了什么东西? 我现在有个2.1的shader ,里面用到了u_DirectionLight.Direction 我想知道在2.6中是怎样取得平行光方向的   2020-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

25. laya默认模型的阴影没有渲染 [ 93%]

...(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.8, 0.8, 0.8); directionLight.direction = new Laya.Vector3(-1, -1, 2); //灯光开启阴影 directionLight.shadow = true; //...

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

26. laya.d3.core.light.DirectionLight [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类...

来源: laya_api 发布时间: 20170929

27. laya.d3.core.light.DirectionLight [ 92%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D Node EventDispatcher Object DirectionLight 类用于创建平行光。 Pub...

来源: Laya2.0_api 发布时间: 20190513

28. 请问我导入3d模型一直找不到它 [ 92%]

...角度不对的原因  菜鸟注意 ts 1.4  添加一盏灯光     var directionLight =scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight;             directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6);             directionLight.specularColor = new Lay...

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

29. 照相机-多照相机 [ 92%]

.../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyBox; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, ...

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

30. 为什么平行光DirectionLight的镜面反射颜色specularColor属性不存在 [ 92%]

为什么平行光DirectionLight的镜面反射颜色specularColor属性不存在 1.添加了平行光但是显示这个属性不存在 2.地图上的反射光太强了,是不是因为这个属性,如果不是是什么原因,怎么调? 附件 : --> 2017-09-09 添加评论 免费帖 --> 分...

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