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

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

31. tweenline label事件诡异 [ 86%]

tweenline label事件诡异 this.timeLine.addLabel("rotate1",0).to(this.godContaner,{rotation:-5},200,null,0) .addLabel("rotate2",0).to(this.godContaner,{rotation:0},200,null,0); this.timeLine.play(0,true); this.timeLine.on("label", this, function(label){ console.log(label) }); 两个问题 1 为...

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

32. Mesh网格-自定义网格 [ 86%]

...); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1);...

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

33. Sprite3D-Sprite3D加载 [ 85%]

... camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); L...

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

34. 3d模型旋转问题 [ 85%]

...旋转问题 请教下大家 我转X轴的时候用的是 sphere.transform.rotate(vectx,true,false); 转Y轴的时候用的是sphere.transform.rotate(vecty,false,false); 一个是局部,一个是世界 我怎么限制x轴转到北极就不转了,欧拉角,同一个位置每次输出的值都...

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

35. 获取lh动画控制失败【已解决】 [ 85%]

...          0,             0         ],         "rotation":[             0,             0,             0,             -1         ],         "scale":[             1,             1,             1    ...

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

36. LayaAir3D 坐标系统与矩阵变换 [ 85%]

...Camera; camera.transform.position = new Vector3(0, 3, 3); camera.transform.rotate(new Vector3( -45, 0, 0), true, false); camera.addComponent(CameraMoveScript); //生成平面,其实是一个box,只不过高度很小,可看成一个平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D...

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

37. 高级应用-渲染纹理 [ 85%]

... camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-10, 0, 0), true, false); camera.addComponent(CameraMoveScript); var renderTargetCamera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); renderTargetCamera.transform.translate(new Laya.Vector3(0, 0.5, ...

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

38. unity导出的场景不显示实时阴影 [ 85%]

....addChild(new Laya.DirectionLight) as Laya.DirectionLight; light.transform.rotate(new Laya.Vector3(-120, 0, 0), false, false); light.shadow = true; light.shadowDistance = 150; light.shadowResolution = 2048; light.shadowPSSMCount = 1; light.shadowPCFType = 3;  let plane: Laya.MeshSprite3D = scene.ad...

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

39. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 84%]

...amera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1);...

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

40. 加载.lh文件 运行后黑屏 无法显示 [ 84%]

...m.translate(new Laya.Vector3(0,0.8,1.5));         camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false);     //  var camera:Laya.Camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; // camera.transform.translate(new Laya.Vector3(0, 0.5, 1));     /...

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