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

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

81. 正交摄像机裁剪问题 [ 81%]

...dChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clearColor = new Laya.Vector4(1, 1...

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

82. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 81%]

...式。 startRotationConstantMaxSeparate startRotationConstantMaxSeparate: Vector3 = null Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:282 最大开始三维旋转,1模式。 startRotationConstantMin startRotationConstantMin: number = 0 Defined in laya/d3/core/particleShuriKen...

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

83. laya阴影问题 [ 81%]

...dByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c...

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

84. 2.8.0上默认模型不能产生和接受阴影 [ 81%]

....DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); directionLight.shadowMode = Laya.ShadowMode.SoftLow; directionLight.shadowDistance = 100; directionLight.shadowNearPlane = 1...

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

85. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 81%]

...ra(0, 0.1, 100))) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 3, 3)); this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight...

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

86. 对象池3D问题 [ 81%]

...h"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform.position = new Laya.Vector3(0, 0.5,0); // layaMonkey.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)) //漫反射贴图 var tietu=layaMonkey.getChildByName("denglongyu").getChil...

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

87. 3D模型的材质修改问题 [ 80%]

...se1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var shareMaterial = warehouseMeshSprite3D1.meshRender....

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

88. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 80%]

...谢 class MultiTouch{     private text:Laya.Text;     private _upVector3:Laya.Vector3 = new Laya.Vector3(0, 1, 0); constructor(){         Laya.alertGlobalError = true; this._upVector3 = new Laya.Vector3(0, 1, 0); //初始化引擎         Laya3D.init(0, 0);         La...

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

89. 阴影太黑,阴影强度问题 [ 79%]

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

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

90. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

... 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,...

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