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

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

21. 高级应用-渲染纹理 [ 76%]

...enderingOrder = -1; renderTargetCamera.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 layaMonkey = scene.addChild(Laya.Sprite3D.loa...

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

22. 射线检测-放置物体 [ 75%]

...ector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSpri...

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

23. 动画-旧版骨骼动画 [ 74%]

...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../....

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

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

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

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

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

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

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

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

...角度不对的原因  菜鸟注意 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

27. 动态阴影被切割了?为啥没有显示完成的阴影 [ 74%]

...mera.clearColor = null; camera.orthographic = false; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(-1, -1, 0); directionLight.shadow = true; directionLight.shadowDistance...

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

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

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

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

29. 射线检测-点击行走 [ 73%]

...ector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSpri...

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

30. 在场景中增加方向光,仅在slow下会出现报错 [ 72%]

...错 Laya.stage.frameRate = "slow"下,在场景中增加方向光,进行directionLight.direction = new Laya.Vector3(-0.2, -1,-0.45);设置的时候,会概率性的出现报错,如图示:注释掉directionLight.direction 的改变或者Laya.stage.frameRate = "fast"下则不会出现报错,...

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