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

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

611. Unity导出报错KeyNotFoundException: The given key was not present in the dictionary. [ 62%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...

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

612. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 62%]

...根据移动的距离进行旋转 (owner as Sprite3D).transform.rotate(new Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ _text.text = "触控点为2"; isTwoTouch = true; //获取两个触碰点 var touch:Touch = _scene.input.getTouch(0); var touch2:Touch = ...

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

613. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 62%]

...arColor = new Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Vector3(0, 0, 1.5)); //设置裁剪空间的视口 camera1.normalizedViewport = new Viewport(0, 0, 0.5, 1.0); //创建相机2 var camera2:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera2.clearColor = new Ve...

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

614. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 62%]

........... if (e.keyCode == 97) { // console.log("a"); let newPos = new Laya.Vector3(this.block.transform.position.x + 0.1, this.block.transform.position.y, this.block.transform.position.z); console.log(newPos.x); this.block.transform.position = newPos; } else if (e.keyCode == 100) { // console.log('d...

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

615. Unity2.10.0beta插件报错 [ 61%]

...600df769>:0) o.a (UnityEngine.GameObject A_0, c A_1, c A_2, UnityEngine.Vector3 A_3, UnityEngine.Quaternion A_4, UnityEngine.Vector3 A_5, System.String& A_6) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObject A_0, System.String A_1, c A_2, System.Boolean A_3, System.B...

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

616. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 61%]

...; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2...

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

617. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 61%]

...; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2...

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

618. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 61%]

...        var twoMc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D;                         twoMc.transform.position = new Vector3(0.1, 0, 0.2);                         var transformUVTwo:TransformUV = ...

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

619. Config3D_API3.0 [ 61%]

...s:19 是否开启UniformBuffer Static lightClusterCount lightClusterCount: Vector3 = new Vector3(12, 12, 12) Defined in Config3D.ts:47 X、Y、Z轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster...

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

620. 怎么让模型原地依照Y轴旋转到 我指定的角度? 角度 如何 转换成 Y轴旋转 的四元数? [ 61%]

...第二个问题绕开了。 var t:Transform3D; t.localRotationEuler = new Vector3(0, 45, 0); 不过在这里还是贴一下使用代码: var q:Quaternion = new Quaternion(); Quaternion.createFromYawPitchRoll(45,0,0,q);   2017-09-19 1 0 分享 微博 QZONE 微信 avpvsdoom 赞同来自: box.transfor...

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