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

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

1. DirectionLight介绍(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 100%]

... scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //方向光的颜色 directionLight.color = new Laya.Vector3(1, 1, 1); //设置平行光的方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatri...

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

2. DirectionLight介绍(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 99%]

...ionLight = scene.addChild(new DirectionLight()) as DirectionLight; //方向光的颜色 directionLight.color = new Vector3(1, 1, 1); //设置平行光的方向 var mat:Matrix4x4 = directionLight.transform.worldMatrix; mat.setForward(new Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatri...

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

3. uniformMap表格(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 97%]

...| | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_Poi...

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

4. uniformMap表格(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 97%]

...| | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_Poi...

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

5. uniformMap表格(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 96%]

...| | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_Poi...

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

6. 3D灯光与阴影 · LayaAir3.0文档 · LAYABOX [ 95%]

...形状和外观,但是光源决定了你的环境的颜色和氛围。灯光的种类有多种,不同的光源呈现的效果不同,可以设置不同的参数。 目前光源的种类有: DirectionLight(平行光) PointLight(点光源) SpotLight(聚光灯) AreaLight(区域光...

来源: Laya3.0_文档 发布时间: 20240624

7. DirectionLight介绍(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 84%]

...s.directionLight.transform.worldMatrix = mat; ``` ​ **setForward** 平行光的方向,分别代表x、y、z轴上的方向,负数为负轴,正数为正轴,值的范围为-1—0—1,超过范围后为-1或1,初学者们可以在这个范围内设值观察方向的变化。 ![](img/1.png...

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

8. Laya.DirectionLight() 问题, [ 76%]

...的问题 我这样载入场景问题出现在哪呢?? 写了个边缘光的自定义shader,有很多问题,帮忙看一下 问题状态 最新活动: 2019-05-17 11:41 浏览: 741 关注: 2 人

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

9. 能不能解释一下List的repeatX和repeatY到底是什么 [ 72%]

...回到原大小或原位置,应该用什么缓动模式 写了个边缘光的自定义shader,有很多问题,帮忙看一下 请问一下怎样动态加载prefab 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 在List渲染的时候...

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

10. laya3d导入模型动画,添加光照之后,模型全黑。 [ 69%]

...到的地方肯定是黑色的 你尝试下全局光,然后在有全局光的情况下去增加点光源去布光应该就好了 //方向光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.direc...

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