大约有 37 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0036 秒)
...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
...,播放动画异常 //创建男角色模型 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
...-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
...问题呢,,是我设置的错了吗? 直接调用 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
....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
...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
....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
...实例。 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
...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
...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