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

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

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

...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

22. 加载学堂3D角色资源,播放动画异常 [ 67%]

...,播放动画异常   //创建男角色模型 this.roleMan = new Laya.MeshSprite3D(Laya.Mesh.load("man/hero-mon_1129.lm")); this.roleMan.transform.localScale = new Laya.Vector3(0.01,0.01,0.01); this.roleMan.transform.localPosition = new Laya.Vector3(0,-0.5,-3); this.scene.addChild(this.roleMan); ...

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

23. StaticModel_MeshSample例子运行不起来 [ 62%]

...-30, 0, 0), true, false);         var mesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/staticModel/sphere/sphere-Sphere001.lm"))) as Laya.MeshSprite3D;         mesh.transform.localPosition = new Laya.Vector3(-0.3, 0.0, 0.0);         mesh.transform.lo...

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

24. 3D项目, 骨骼下放入一个空节点容器GameObject导出的问题,, [ 62%]

...问题呢,,是我设置的错了吗? 直接调用 var box = new Laya.MeshSprite3D(new Laya.BoxMesh(1,1,1)); //将3D对象加载到scene中(一定要加入到场景) Scene3DManager.getInstance().nowScene.addChild( box ); this._ani.linkSprite3DToAvatarNode("RHand",box); linkSprite3DToAvatarN...

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

25. 自定义shader-shader预编译 [ 62%]

....animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.d3.shader.ShaderCompile3D; import laya.display.Stage; impo...

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

26. 自定义shader-边缘光照shader [ 60%]

...ion = new Laya.Vector3(0, 0.5, 0); }); var earth = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.5, 128, 128))); var customMaterial = new CustomMaterial(); customMaterial.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/texture/earth.png")); customMaterial.setMarginalColor(ne...

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

27. Sprite3D-Sprite3D加载 [ 57%]

....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_示例 发布时间: 20250222

28. laya.d3.core.RenderableSprite3D_API3.0 [ 54%]

...实例。 Hierarchy Sprite3D RenderableSprite3D PixelLineSprite3D SkinnedMeshSprite3D MeshSprite3D ShuriKenParticle3D TrailSprite3D SimpleSkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE...

来源: Laya3.0_api 发布时间: 20231115

29. 射线检测-碰撞器混合 [ 53%]

...his.layaMonkey.transform.scale = new Laya.Vector3(8, 8, 8); this.layaMonkeyMeshSprite3D = this.layaMonkey.getChildAt(0).getChildByName("LayaMonkey"); //添加盒型碰撞器 var boxCollider = this.layaMonkeyMeshSprite3D.addComponent(Laya.BoxCollider); boxCollider.setFromBoundBox(this.layaMonkeyMeshS...

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

30. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 53%]

...ed All Inherited Externals Only exported Menu Globals "laya/d3/core/SkinnedMeshSprite3D" SkinnedMeshSprite3D Class SkinnedMeshSprite3D SkinnedMeshSprite3D 类用于绑点骨骼节点精灵。 Hierarchy RenderableSprite3D SkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _ur...

来源: Laya3.0_api 发布时间: 20231115