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

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

421. 求助,屏幕旋转后滚动条没有跟随旋转 [ 49%]

...export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize = 25;...

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

422. 导出的3D资源加载报错 [ 49%]

...到场景 scene.addChild(camera); //旋转摄像机角度 camera.transform.rotate(new Vector3( -25, 0, 0), false, false); //移动摄像机位置 camera.transform.position=new Vector3(0, 5, 10); //加入摄像机移动控制脚本 //camera.addComponent(CameraMoveScript); //添加蒙皮动画角色...

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

423. js中使用sharedMesh报错 [ 49%]

...("model/warehouse/1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); warehouseColl...

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

424. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 49%]

...a; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); })); } } 2019-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 laya21126 赞同来...

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

425. 官方DynamicBatchTest照做为什么动态合不了批? [ 49%]

...mera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); ...

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

426. 3d下阴影渲染问题求解 [ 49%]

...2.png"); // var box = boxSys.object3d; parent.addChild(box); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.localPosition = new Laya.Vector3((i-5)*boxSize*1.1,0,j*boxSize*1.1-1); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load(...

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

427. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 49%]

...teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya.Handler.create(null, function(tex) { //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial...

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

428. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 49%]

...ame = this.mWeaponCfg.mName + "_" + anaimaname;         this.mAnimaCur.rotation = this.mAngle;         this.mAnimaCur.play(0, loop, fullname);         if (anaimaname == WEAPON_ANIMA_FIRE)         {             this.mAnimaCur.once(laya.events.Event.COMPLETE, this, this.onFireAni...

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

429. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 49%]

...teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflection = true; //设置材质的金属度,尽量高点,反...

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

430. layaAir2.3克隆以及获取节点重大bug!!! [ 48%]

...ransform.scale = new Laya.Vector3(10,10,10)         a.transform.rotate(new Laya.Vector3(0, 90, 0), false, false);              scene.addChild(a);       2020-01-08 0 1 分享 微博 QZONE 微信 139*****427 赞同来自: 这种图一的就是可以直接取节点克隆...

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