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

大约有 327 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)

161. Laya2.0 3D刚体获取不了totalForce [ 62%]

...2019-06-24 19:52 非常感谢,但是我调试了一下,totalForce中的x,y,z是三个空的function实例,不知你那里测试是否正常? NilZ • 2019-06-24 21:00 @tiwei001:引擎库没有适配好,1029805476@qq.com,给我发一个邮件,我用邮件给你回最新编译的引擎库,...

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

162. 3d Tween使用不执行 [ 62%]

...用不执行 3d Tween使用不执行为什么也没报错 Laya.Tween.to(box1,{x:2,y:-20, z:2}, 1000); 2017-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: zhanghaorf84 https://layaair...

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

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

...1); //设置灯光方向 var mat = this.directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); this.directionLight.transform.worldMatrix = mat; ``` ​ **setForward** 平行光的方向,分别代表xyz轴上的方向,负数为负轴,正数为正轴,...

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

164. 如何传输自定义的vertexBuffer [ 62%]

如何传输自定义的vertexBuffer 看到vertexBuffer里面是x y z nx ny nz u v 8个float,如果自己需要追加的话怎么做?加载一个普通的模型后如何自己追加一些?然后我要在自定义shader里面去使用这些东西。 2017-10-18 添加评论 免费帖 --> 分享...

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

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

...); //设置平行光的方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; ``` ​ **setForward** 平行光的方向,分别代表xyz轴上的方向,负数为负轴,正数为正轴,值的范...

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

166. 多光源渲染(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 61%]

...渲染相关参数: **enbaleMultiLight:** 是否开启多光源。 **maxLightCount:** 最大光源数量参数。 **lightClusterCount:** XYZ轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量。 > 开启并且修改多光源渲染参数 ```types...

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

167. 自定义mesh 点的描述 [ 61%]

...定义mesh 看源码里面描述一个点有八个值。。。前三个是 x y z  后面五个值是什么意思。有没有懂的人知道是什么意思 2020-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

168. laya.d3.core.material.BlinnPhongMaterial [ 61%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BlinnPhongMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BlinnPhongMaterialInheritanceBlinnPhongMaterial BaseMaterial laya.resource.Resource BlinnPhongMaterial 类用于实现Blin...

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

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

...ight.color = new Vector3(1, 1, 1); //设置平行光的方向 var mat:Matrix4x4 = directionLight.transform.worldMatrix; mat.setForward(new Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; ``` ​ **setForward** 平行光的方向,分别代表xyz轴上的方向,负数...

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

170. 如何在3d场景中添加文字 [ 61%]

...接 提交 2 个回复 ltmking 赞同来自: /**玩家名称 */ private txtName:Laya.Text; //场景的相机 public otherGameScene:Laya.Camera; private _outPos:Laya.Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this...

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