大约有 175 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0033 秒)
...以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.tra...
来源: Laya2.0_文档 发布时间: 20210715
3d加载问题 xx.lav ,xx.lani, xx.lm 文件 怎么加载? var rigMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("./Assets/bianfuyu-body.lm"))); var rigAni = rigMesh.addComponent(Laya.RigidAnimations); rigAni.templet = Laya.Animation.Animation("./Assets/bianfuyu-Take_001.lani"); rigAn...
来源: Laya_社区 发布时间: 20170717
...使模型移动如何写法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/deng...
来源: Laya_社区 发布时间: 20170918
... //加载并显示模型 roleMan = new MeshSprite3D(Mesh.load("3d/man/hero-mon_1129.lm")); roleMan.transform.localScale = new Vector3(0.01, 0.01, 0.01); roleMan.transform.localPosition = new Vector3(0, -0.5, -3); ...
来源: Laya_社区 发布时间: 20170401
...entationAll Packages | All Classes | Index | Frames No Frames SkinnedMeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class SkinnedMeshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSprite3D 类...
来源: Laya2.0_api 发布时间: 20190513
...接 提交 4 个回复 183*****755 赞同来自: qq1194265406 var staticMesh = Laya.Sprite3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在...
来源: Laya_社区 发布时间: 20170316
... QZONE 微信 Monica - 知识达人 赞同来自: 你代码中把贴图和mesh释放掉了,但是精灵没有释放,所以报错了。你可以把附件中的类替换看下 LayaUISample.rar 2017-12-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20171205
....animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya...
来源: Laya_示例 发布时间: 20250219
...aya.d3.component.Animator; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.scene.Scene; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import l...
来源: Laya_示例 发布时间: 20250219
...sprite3d更换模型的问题 使用Sprite3d更换模型和贴图的方法 meshSprite3D.meshFilter.sharedMesh = Mesh.load 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: https:/...
来源: Laya_社区 发布时间: 20180412