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

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

161. Cannot read property 'rayCast' of undefined [ 45%]

...ght.color = new Laya.Vector3(0.7, 0.6, 0.6); Laya.Sprite3D.load("res/scene/LayaScene_webgl_sky/Conventional/webgl_sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMo...

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

162. 1.7.8新版本3d骨骼动画如何获取绑点呢 [ 45%]

...private var effectTemp:Sprite3D; effectTemp = Laya.loader.getRes("res/LayaScene_Fire/Fire.lh"); 先查到节点 for(var i:int = 0;i<ani._avatarNodes.length;i++) { if(AnimationNode(ani._avatarNodes[i]).name == "weaponEffect") { animationNodeTemp = ani._avatarNodes[i]; break; } ...

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

163. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 45%]

...重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = n...

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

164. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 45%]

...重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = n...

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

165. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 44%]

...需要重新导出。 > 新版本骨骼挂点 ```typescript Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var...

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

166. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 44%]

...景雾:   //添加3D场景 GamePanel.curScene = Laya.loader.getRes("res/LayaScene_wu/Conventional/wu.ls"); Laya.stage.addChildAt(GamePanel.curScene, 0); //开启雾化效果 GamePanel.curScene.enableFog = true; //设置雾化的颜色 GamePanel.curScene.fogColor = new Laya.Vector3(0.59, 0.59, 0.59)...

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

167. 为什么这样加载不出来东西,别再给我发示例链接了,就是按照示例来的 [ 43%]

...代码。var abc: sprite3D = scene.addchild(sprite3D.load("res/lizi/layaScene.lh")) as sprite3D 这是as的代码,然后显示一个 手掌样子的怪物,我为了方便观察把材质换成黄色的了,你自己的模型的材质可能 使用中是黑的 看不到 158*****395 • 2...

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

168. 微信小游戏报错 the .lh file root type must be Scene [ 43%]

...e must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChildAt(scene, 0); this.InitCamera(s...

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

169. Unity3D插件介绍(JavaScript-3D基础(JS)-LayaAir3D之Unity插件使用) [ 41%]

...tory Name ` 自定义导出文件夹名字,默认的文件夹名字为“layaScene+场景名”。 ##### (9) 导出设置 导出设置面板如图5所示。 **Run** 点击可使用LayaAir引擎直接运行该场景。 **Export** 导出当前资源,点击后,将导出当前场景或模型的数...

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

170. Unity3D插件介绍(ActionScript-3D基础(AS3)-LayaAir3D之Unity插件使用) [ 41%]

...tory Name ` 自定义导出文件夹名字,默认的文件夹名字为“layaScene+场景名”。 ##### (9) 导出设置 导出设置面板如图5所示。 **Run** 点击可使用LayaAir引擎直接运行该场景。 **Export** 导出当前资源,点击后,将导出当前场景或模型的数...

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