大约有 162 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0049 秒)
...rit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimations = meshSprite3D.addComponent(Laya.SkinAnimations) as Laya.Sk...
来源: Laya_社区 发布时间: 20180724
... new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0...
来源: Laya_示例 发布时间: 20241124
... }, "components":{}, "child":[ { "type":"MeshSprite3D", "props":{ "isStatic":false, "name":"AJ_PS_Health" }, "customProps":{ "layer":0, "translate":[ 0, 0, ...
来源: Laya_社区 发布时间: 20181013
...ds MethodDefined By Terrain(terrainRes:TerrainRes = null) 创建一个 MeshSprite3D 实例。 Terrain _cloneTo(destObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D _parse(data:Object, spriteMap:Object):void[override] Terrain addChild(node:Node):Node 添加子节点。...
来源: Laya2.0_api 发布时间: 20190513
...e:string]:AnimationTemplet} = {}; private meshes : Array<MeshSprite3D> = []; private OnHierarchyLoaded() { for (let v of this._childs[0]._childs) { let mesh = v as MeshSprite3D; m...
来源: Laya_社区 发布时间: 20170608
...个球体模型并添加到舞台上 var sphere = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1))); //新建一个球形的碰撞盒 var sphereShape = new Laya.SphereColliderShape(1); //给球添加刚体 var sphereRigid = sphere.addComponent(Laya.Rigidbody3D); //将碰撞...
来源: Laya2.0_文档 发布时间: 20210715
....version/libs/laya.d3.js:37260:30) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto._addComponentInstance (http://stand.alone.version/lib ... 3660:8) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto.addComponent (http://stand.alone.version/lib ... 3731:8) 10-15 16:43:46.702: ...
来源: Laya_社区 发布时间: 20181015
....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_示例 发布时间: 20241124
...子父级节点寻找可行走区域网格模型 var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D; var texture:Texture2D = Loader.getRes("res/heightMap.png") as Texture2D; //通过...
来源: Laya_社区 发布时间: 20170505
...ght:int, cameraCoordinateInverse:Boolean, name:String = null) 创建一个 MeshSprite3D 实例。 TerrainChunk _cloneTo(destObject:*, srcSprite:Node, dstSprite:Node):void[override] TerrainChunk _parse(data:Object, spriteMap:Object):void[override] Sprite3D _parse(data:*, propertyParams:Object = ...
来源: Laya2.0_api 发布时间: 20190513