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

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

211. 求救 Laya2.0下的Particle2D问题 [ 67%]

...yString; let frameX; let frameY; let play = true; let frameScale; let frameRotation; //问题在下面://如果首次传入E/Q,尾焰正常出现在需要的位置,但是这个粒子会“循环”播放,一会出现一会消失....//如果首次传入W/S,尾焰粒子播不出来,需要...

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

212. LayaAir3D 导出和使用U3D粒子特效 [ 67%]

...etween Two Curve Start Size -> Curve, Randow Between Two Curve 3D Start Rotation -> Curve, Randow Between Two Curve Start Rotation -> Curve, Randow Between Two Curve Start Color -> Gradient, Randow Between Two Gradient Emission -> Rate over Distance Shape -> Shape -> Mesh, Mesh...

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

213. 灯光-方向光 [ 67%]

...amera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); dire...

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

214. 官方技术文档中的问题 [ 67%]

...); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 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); direction...

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

215. 3D场景中背景无法透明,版本2.7.1 [ 67%]

...); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 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); directionLigh...

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

216. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 67%]

...nsform.position = new Laya.Vector3(2.5, 1.5, 0);         box.transform.rotation = new Laya.Quaternion(-0.373,-0.070,0.16,0.91);         box.meshRender.material = material;         // //旋转(这里把注释去掉,可看旋转效果,BUG更明显:渲染时,正方体“背面”...

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

217. 照相机-正交相机 [ 67%]

...r camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(5, -10, 500)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; var directionLig...

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

218. laya.d3.utils.Utils3D [ 66%]

... transformVector3ArrayByQuat(sourceArray:Float32Array, sourceOffset:int, rotation:Quaternion, outArray:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D  transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, ...

来源: laya_api 发布时间: 20170929

219. rigidBody.applyForce 物体不会移动 [ 66%]

...prite3D; box.transform.translate(new Laya.Vector3(5, 5, 5)); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load( "res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { mater...

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

220. 粒子编辑器太水了,被美术狂吐槽 [ 66%]

...,右键可以拖拽舞台! 3.你说的旋转是指什么,向左向右rotation旋转还是半径粒子效果的右旋呢,如果是rotation,参考上面的说明,如果是右旋,需要你自己调节粒子属性参数,可以做到右旋 4、可以调节透明度 建议你们认真研...

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