大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0037 秒)
Laya_社区(179) Laya3.0_api(34) Laya2.0_文档(22) Laya3.0_文档(13) Laya_示例(4) laya_api(3) Laya2.0_api(3) Laya2.0_示例(2)
....create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Quaternion identity():void 置四元数为单位算数 Quaternion invert(out:Quaternion):void 求四元数的逆 Quaternion invert(value:Quaternion, out:Quaternion):void[static] ...
来源: Laya2.0_api 发布时间: 20190513
...是满帧,但设备的不同会有所差异,有的机型上可以达到90帧满帧或者120帧满帧。 LayaAir画布的大小,取决于我们游戏自己设置的设计宽高以及LayaAir引擎中屏幕适配,如图2所示, (图2) 在不同机型分辨率下,会导致画布大小可能...
来源: Laya3.0_文档 发布时间: 20250626
...m.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflection = true; //设置材质的金属度,尽量高点,反射效果...
来源: Laya2.0_文档 发布时间: 20210715
...在多指操作的情况下会出现这种报错 附件 : --> 5f38bb501210c90c838c0100964d5091.rar 2019-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 这个已经在群内沟通处...
来源: Laya_社区 发布时间: 20190806
...ount += getIsStrokeWithAngel(60.0);\r\nstrokeCount += getIsStrokeWithAngel(90.0);\r\nstrokeCount += getIsStrokeWithAngel(120.0);\r\nstrokeCount += getIsStrokeWithAngel(150.0);\r\nstrokeCount += getIsStrokeWithAngel(180.0);\r\nstrokeCount += getIsStrokeWithAngel(210.0);\r\nstrokeCount += getIsStrokeW...
来源: Laya_社区 发布时间: 20190528
...7.960376+0800 CJPK_iOS[8382:4736822] assetsid old:c1db7e73ac5bc035fa2972c7d90d092e new:null 2018-01-11 10:18:57.961246+0800 CJPK_iOS[8382:4736822] onLayaInitError error=Update DCC get assetsid error 看到对应代码段是: function updateDcc() { return __awaiter(this, void 0, void 0, function* (...
来源: Laya_社区 发布时间: 20180111
....create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Quaternion identity():void 置四元数为单位算数 Quaternion invert(out:Quaternion):void 求四元数的逆 Quaternion invert(value:Quaternion, out:Quaternion):void[static] ...
来源: laya_api 发布时间: 20170929
... cu = scene.addChild(sp) as Sprite3D; cu.transform.rotate(new Vector3(0, -90, 0), true, false); _rb = cu.getComponent(Rigidbody3D) as Rigidbody3D; })); //施加作用力或冲量 btn_a.on(Event.CLICK,this, function():void{ _rb.applyImpulse(new Vector3(0, 0, -2000)); }) 附件 : --> 3D_DEMO...
来源: Laya_社区 发布时间: 20190417
...t=0;i<10;i++){ var p:wheel=Pool.getItemByClass("wheel", wheel); p.pos(i*90+100,200); p.init(); roleLayer.addChild(p) } /////////////wheelas.as public function wheel(){ this.graphics.drawCircle(0,0,40,"#fff"); _wheel= new Animation(); _wheel.loadAnimation("wheeling.ani");...
来源: Laya_社区 发布时间: 20190312
...cene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var material = warehouseMeshSprite3D1.meshRender.material; materi...
来源: Laya_社区 发布时间: 20171226