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

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

121. 3D模型无法正显示和播放动作 [ 61%]

...ni.player.play();               var hero = sphere.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/dude/dude-him.lm")));         var hero = sphere.addChild(Laya.Sprite3D.load("./res/Xinzhaoyun/Zhaoyun_skin.lh"));  这两种加载方法有啥不同么 附件 :...

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

122. 如何使 3d 人物变半透明 [ 61%]

...andardMaterial(); mat.renderMode = 5; mat.albedo = new Vector4(1,1,1,0.5); meshSprite3D.meshRender.sharedMaterials = mat; 2017-10-31 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yoahuili 相关问题 laya引擎在3D中如何在人物...

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

123. Effect材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 61%]

...me=EffectMaterialDemo)): ```typescript var earth = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere())); earth.transform.position = new Laya.Vector3(0, 0, 0); //创建EffectMaterial材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/thre...

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

124. 3d加载问题 [ 61%]

...x.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"); rigAni.player.play();      ...

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

125. 天空-天空盒 [ 60%]

...t laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import la...

来源: Laya_示例 发布时间: 20240930

126. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 60%]

...Laya.Handler.create(null, function(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya....

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

127. 武器怎么绑定? [ 60%]

...         //加载并显示模型             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

128. 3D模式下使用Tween使模型移动如何写法 [ 60%]

...使模型移动如何写法 //载入并显示鱼模型 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

129. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 60%]

...aya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启...

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

130. HTMLCanvas如何挂载 [ 60%]

...示例的做法,Laya.Sprite3d.load的方式加载,然后挂载到一个MeshSprite3d上,第一次显示的时候画面会卡一下,请问是什么问题? spine 骨骼动画不支持插槽挂载节点功能吗,后续会扩展支持吗,还是说不考虑扩展支持了? 制作的UI动...

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