大约有 619 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图...
来源: Laya2.0_文档 发布时间: 20210715
...(!this.cubeP){ this.cubeP = this.scene.addChild(new Laya.Sprite3D()); this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); let rigidbody = this.cube.addComponent(Laya.Rigidbody3D); rigid...
来源: Laya_社区 发布时间: 20200223
...报错 附件包含导出的资源文件,麻烦帮忙看下 Laya.Sprite3D.load("res/LayaScene_Model_71008/Model_71008.lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); })); 报错信...
来源: Laya_社区 发布时间: 20200104
...转后可以看到背面 如何在IDE上看到帧动画的效果 在一个sprite3D上添加子物体camera ,也能够看到其他的物体。。。请问如何在摄像机中只看到一个想看到的sprite3D对象呢? [LayaAir 2.0]unity插件安装之后只能看到account和help 问题状态 ...
来源: Laya_社区 发布时间: 20190803
...r3(1, -1, -1); //加载网格 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Qu...
来源: Laya_示例 发布时间: 20251130
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mas...
来源: Laya_社区 发布时间: 20170729
... liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined Laya mac版的IDE 是没...
来源: Laya_社区 发布时间: 20170818
...nsole.log("相机位置",(this.owner.getChildByName("Main Camera") as Laya.Sprite3D).transform.position) } onStart(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.c...
来源: Laya_社区 发布时间: 20190621
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComp...
来源: Laya_社区 发布时间: 20170526
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 请问在layaIDE里,怎么调用微信小程序API 微信小游戏如何使用ttf字体? LayaAirIDE下...
来源: Laya_社区 发布时间: 20190129