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

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

81. 3D中如何获取模型世界旋转角度,不是localRotationEuler,不是四元数,是在世界中x,y,z轴上旋转角度 [ 74%]

...与内容相关链接 提交 1 个回复 Laya_Aaron 赞同来自: var a:Sprite3D = new Sprite3D();             a.transform.rotation; 2018-09-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 careylwq 相关问题 sprite旋...

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

82. VRdemo有没有加载3D场景啊,实在不知怎么加 [ 74%]

...e = Laya.TextureCube.load("res/sky/skyCube.ltc"); camera.sky = skyBox; var sprite3D = scene.addChild(Laya.Sprite3D.load("cj03/LastHopeScene.lh")); //sprite3D.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scen...

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

83. Unity导出特效,怎么缓存让第一次加载时候不卡呢 [ 74%]

...... ], XXX, XXX);   加载: var effect = actor.mView.root.addChild(Laya.Sprite3D.load("Resources/Player/nan_jianshi/Effect/dmc_skycity_attack1/.lh"));                     effect.once(Laya.Event.HIERARCHY_LOADED, this, function(){                         var particle = effect...

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

84. 问下,3D模型导出有什么要求 [ 74%]

...osition = new Laya.Vector3(0,4,15); //载入并显示3D建筑 var map:Laya.Sprite3D = Laya.Sprite3D.load("New Scene.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4, -15); //控制摄像头移动 camera.addComponent(CameraMoveScript); } } new GameMain(); uni...

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

85. 在模型有刚体情况下,怎么才能让模型只围绕一个轴进行旋转 [ 73%]

...-11 20:43 @源:那个,这样算是吧刚体和模型分开了吗。 Laya.Sprite3D.load("h5/LayaScene_car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car...

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

86. discard property,please use transform's property instead [ 73%]

... function onComplete() {             var grid = scene.addChild(Laya.Sprite3D.load("res/plane.lh"));             //地面接收阴影             grid.getChildAt(0).meshRender.receiveShadow = true;             var layaMonkey = scene.addChild(Laya.Sprite3D.load("res/LayaMonkey....

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

87. layaIDE如何使用远程图片 [ 73%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement使用 请问在layaIDE里,怎么调用微信小程序API LayaAirIDE...

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

88. 你先用Laya.timer.frameLoop 然后再用tween才可以生效 直接用tween没用 [ 73%]

...his, this.resetPosition); resetPosition(): void {    var aniMonkey: Laya.Sprite3D = scene.getChildByName("monkey") as Laya.Sprite3D;    aniMonkey.transform.position = new Laya.Vector3(math,math,math); } Laya.Tween.to(aniMonkey.transform.position, { x: math1, y: aniMonkey.transform.position.y, z:...

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

89. 如何使用图片网络连接地址,进行图片更换 [ 72%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 如何与服务端建立连接 Textur...

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

90. 使用连接加载图片问题 [ 72%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? IDE1.7.8 json图集加载问题 用...

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