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

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

531. 阴影太黑,阴影强度问题 [ 68%]

...。 你好,小伙儿 • 2018-05-26 16:02 //添加环境色(刚开始Vector3变量我传入了 1,1,1 发现效果不明显,所以改大一些方便查看效果) scene.ambientColor = new Laya.Vector3(10,10,10) 我添加了环境色,并且截了图,发现阴影的颜色并没有改变...

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

532. laya.d3.core.material.UnlitMaterial_API3.0 [ 68%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

来源: Laya3.0_api 发布时间: 20231115

533. laya.d3.core.Camera_API3.0 [ 68%]

...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...

来源: Laya3.0_api 发布时间: 20231115

534. laya的各种light支持culling mask吗? [ 68%]

...rectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = 9; 都没用啊 请问您是如何实现的。 135*****336 • 2020-05-20 16:18 你最后解决...

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

535. 2.4测试版 刚体. clearForces报错 [ 68%]

... 赞同来自: 传了   还有个问题  就是 刚体.角速度 = new vector3(10,0,0)    这个好使 刚体.角速度 .setvalue(10,0,0)    这个不好使是为啥? 刚体.角速度 .x = 10也不好使 是为啥 谢谢!   TestPhysic.zip 2019-12-13 0 0 分享 微博 QZONE 微信 为什...

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

536. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 68%]

...function(){ //使用差速来体现移动 box.transform.translate(new Laya.Vector3(0,0.05,0),false); camera.transform.translate(new Laya.Vector3(0,04,0),false); }); })); ``` ![](img/3.gif)(图3)

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

537. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 68%]

...function(){ //使用差速来体现移动 box.transform.translate(new Laya.Vector3(0,0.05,0),false); camera.transform.translate(new Laya.Vector3(0,04,0),false); }); })); ``` ![](img/3.gif)(图3)

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

538. TypeError: Cannot set property 'material' of undefined [ 68%]

...(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0));          var material:Laya.UnlitMaterial = Laya.Loader.getRes("Unity/Assets/Materials/Materials.lmat") as Laya.UnlitMaterial;      ...

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

539. 摄像机lookAt如何围绕一个模型做Tween动画? [ 68%]

...() { y = y + 1; camera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一个模型旋转做动画,用Tween没有起到作用. 用函数loop试了一下,设置lookAt无论...

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

540. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 68%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

来源: Laya3.0_api 发布时间: 20231115