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

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

491. 请问3D平行光产生的投影 如何修改颜色深浅 [ 70%]

...mainscene.addChild(new Laya.DirectionLight()); this.Light.color = new Laya.Vector3(0.7, 0.7, 0.7); this.Light.direction = new Laya.Vector3(-1.3, -1.5, -1.6); // shadow this.Light.shadow = true; //产生投影的范围(如过小将不会产生投影) this.Light.shadowDistance = 19; //生成阴影...

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

492. Laya.Sprite3D如何设置位置 [ 70%]

...我都写明了都搜索不到) layaMonkey.transform.translate( new Laya.Vector3(100,500,100)); layaMonkey.transform.position = new Laya.Vector3(100,500,100); 2018-06-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

493. 关于2.0.1版本,rayCastAll方法有bug的问题 [ 70%]

...8; i++) { let radis = i * 2 * Math.PI / 8; rays[i] = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(Math.cos(radis), 0, Math.sin(radis))); let hitResult = new Array(); this.mainScene.physicsSimulation.rayCastAll(rays[i], hitResult); console.log(rays[i], hitResult); }我注意到2.0.0的时...

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

494. [laya unity插件2.3.0beta] 导出预设报错 [ 69%]

...08377, 0.706989, -0.706989, 0.008378} l=0.999808 UnityEngine.Matrix4x4:TRS(Vector3, Quaternion, Vector3) p:a(SkinnedMeshRenderer, String, Boolean) p:b() p:b(String) LayaAir3D:exportResource(Boolean, Int32, String) k:b() m:b(a) m:a() UnityEditor.EditorApplication:Internal_CallUpdateFunctions()     ...

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

495. laya.d3.core.material.EffectMaterial_API3.0 [ 69%]

...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

496. laya.d3.core.trail.TrailMaterial_API3.0 [ 69%]

...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

497. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 69%]

...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

498. LayaAir2.6.0版阴影系统如何使用,请教请教! [ 69%]

...as Laya.DirectionLight;         this.m_light.color = new Laya.Vector3(0.8, 0.8, 0.8);         this.m_light.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 1));         this.m_light.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades;         th...

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

499. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 69%]

...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

500. Sprite3D.transform.up中up向量是相对于什么方向上的向量? [ 69%]

...sfsmmc 相关问题 3D如何计算反射线的向量? 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 请问Laya2里面的物理引擎怎么使用才能像向量那样往一个方向发射 有没有四元...

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