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

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

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

...ition.y; //根据移动的距离进行旋转 (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 touc...

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

452. 引擎 TiledMap 居然不支持图块翻转 [ 46%]

... / 2);                                         tSprite.rotation = tObjectData.rotation;                                         tSprite.x = tSprite.relativeX = Laya.Point.TEMP.x + this._map.viewPortX;                                        ...

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

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

...touch.position.y; //根据移动的距离进行旋转 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.getTouc...

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

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

...touch.position.y; //根据移动的距离进行旋转 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.getTouc...

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

455. 2D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...始大小。有两种模式可供选择:Constant和TwoConstants。 Start Rotation:每个粒子的初始旋转角度。有两种模式可供选择:Constant和TwoConstants。 Start Color:每个粒子的初始颜色。有两种模式可供选择:Color(颜色值)和TwoColors(颜色过渡) Grav...

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

456. ios微信clone特效会导致特效的mesh无法显示 [ 45%]

...a; camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clonesprite: Laya.Sprite3D = sprite.clone() as Laya.Sprite3D; s...

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

457. Uncaught TypeError: Cannot read property 'props' of undefined [ 45%]

...tion=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main();   laya2.0的3d尝试,新人,看不懂这是为啥,错误如下: laya.d3.js:15290 Uncaught TypeError: Cannot read property 'props' ...

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

458. 求助 Uncaught SyntaxError: Unexpected identifier [ 45%]

...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 = scene.addChild(new MeshSprite3D(new BoxMesh...

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

459. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 44%]

...aya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; 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) { materi...

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

460. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 44%]

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

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