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

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

1. Sprite3D-Sprite3D克隆 [ 100%]

...y/LayaMonkey.lh")); //克隆sprite3d var layaMonkey_clone1 = Laya.Sprite3D.instantiate(layaMonkey, scene, false, new Laya.Vector3(0.6, 0, 0)); //克隆sprite3d var layaMonkey_clone2 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey, null, false, new Laya.Vector3(-0.6, 0, 0))); }class Sprite3DClo...

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

2. Sprite3D-Sprite3D变换 [ 96%]

...eeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya.Sprite3D.instantiate(layaMonkey1, scene, false, new Laya.Vector3(0, 0, 0)); layaMonkey3 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey1, null, false, new Laya.Vector3(0.6, 0, 0))); Laya.timer.frameLoop(1, this, animate); } var ...

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

3. 材质-BlinnPhong-高光贴图 [ 81%]

...ansform.position = new Laya.Vector3(-0.6, 0, 0); var dude2 = Laya.Sprite3D.instantiate(dude1, this.scene, false, new Laya.Vector3(0.6, 0, 0)); var skinnedMeshSprite3d = dude2.getChildAt(0).getChildAt(0); for (var i = 0; i < skinnedMeshSprite3d.skinnedMeshRender.materials.length; i++) { var mat = ski...

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

4. 材质-BlinnPhong-法线贴图 [ 80%]

...cale = new Laya.Vector3(0.002, 0.002, 0.002); var monster2 = Laya.Sprite3D.instantiate(monster1, this.scene, false, new Laya.Vector3(0.6, 0, 0)); monster2.transform.localScale = new Laya.Vector3(0.002, 0.002, 0.002); for (var i = 0; i < monster2._childs.length; i++) { var meshSprite3D = monster2._ch...

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