大约有 720 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0042 秒)
Laya_社区(328) Laya3.0_api(99) Laya2.0_api(82) laya_api(76) Laya2.0_文档(63) Laya_示例(46) Laya3.0_文档(14) Laya2.0_示例(12)
...mera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript); Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); ...
来源: Laya_社区 发布时间: 20191112
...2.png"); // var box = boxSys.object3d; parent.addChild(box); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.localPosition = new Laya.Vector3((i-5)*boxSize*1.1,0,j*boxSize*1.1-1); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load(...
来源: Laya_社区 发布时间: 20180117
...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.Handler.create(null, function(tex) { //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial...
来源: Laya2.0_文档 发布时间: 20210715
...ame = this.mWeaponCfg.mName + "_" + anaimaname; this.mAnimaCur.rotation = this.mAngle; this.mAnimaCur.play(0, loop, fullname); if (anaimaname == WEAPON_ANIMA_FIRE) { this.mAnimaCur.once(laya.events.Event.COMPLETE, this, this.onFireAni...
来源: Laya_社区 发布时间: 20161205
...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(); //开启该材质的反射 pbrMat.enableReflection = true; //设置材质的金属度,尽量高点,反...
来源: Laya2.0_文档 发布时间: 20210715
...ransform.scale = new Laya.Vector3(10,10,10) a.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); scene.addChild(a); 2020-01-08 0 1 分享 微博 QZONE 微信 139*****427 赞同来自: 这种图一的就是可以直接取节点克隆...
来源: Laya_社区 发布时间: 20200107
...ite3D; box.transform.position = new Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Vector3(0, 45, 0), false, false); //球体 var sphere:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createSphere(0.25, 20, 20))) as MeshSprite3D; sphere.transform.position = new Vector3(1.0, 0.25,...
来源: Laya2.0_文档 发布时间: 20210715
...ranslate(new Vector3(0, 0.25, 0.6)); camera.transform.rotate(new Vector3(-30,0,0),true,false); var map:Sprite3D = Sprite3D.load("3d/zhuoZi/ZhuoZi.lh"); map.transform.localScale = new Vector3(0.1, 0.1, 0.1); scene.add...
来源: Laya_社区 发布时间: 20170314
...eObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignoreNullChild) LayaExport...
来源: Laya_社区 发布时间: 20171206
...3D.load("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //...
来源: Laya_社区 发布时间: 20171220