大约有 433 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(274) Laya3.0_api(43) Laya_示例(35) Laya2.0_文档(31) Laya3.0_文档(19) laya_api(15) Laya2.0_api(15) Laya2.0_示例(1)
...就会忘掉 在这里分享出来以后好搜索 //直接异步加载 var sprite3D:Laya.Sprite3D = Laya.Sprite3D.load("res/room.lh"); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("res/room.lh",Laya.Handler.create(this,this.onCreateComplete)); //预加载完成后回调 pr...
来源: Laya_社区 发布时间: 20170809
用1.01导出的场景加载失败 提示 Sprite3D: the .lh file root type must be Sprite3D,please use other function to load this file. 我的代码 var scene = Laya.Sprite3D.load("unity/LayaScene_1/1.lh"); SceneManager.Instance().AddChild(scene); 2017-05-31 添加评论 免费帖...
来源: Laya_社区 发布时间: 20170531
关于sprite3d更换模型的问题 使用Sprite3d更换模型和贴图的方法 meshSprite3D.meshFilter.sharedMesh = Mesh.load 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: ...
来源: Laya_社区 发布时间: 20180412
...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1...
来源: Laya2.0_文档 发布时间: 20210715
View可以addChild Sprite3D对象吗 2d显示对象里可以addchild添加sprite3d对象吗? 2019-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: 不可以 必须有一个scene3D ...
来源: Laya_社区 发布时间: 20190306
..., onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2D = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/monkey.png")); Laya.timer.frameLoop(1, this, animate); } var _position = new L...
来源: Laya_示例 发布时间: 20251130
...报错! 添加时没有_style是怎么回事呢?导出的不是一个sprite3d文件吗? 附件 : --> 2018-08-17 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同来自: 我看官网上是这样...
来源: Laya_社区 发布时间: 20180817
有些模型load之后,MeshSprite3D 的共享材质个数为0,无法对材质进行操作 _disObj3d = Sprite3D.load("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void { var ms:MeshSprite3D = _disObj3d...
来源: Laya_社区 发布时间: 20170101
...d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: laya_api 发布时间: 20170929
...lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...
来源: laya_api 发布时间: 20170929