大约有 965 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0047 秒)
Laya_社区(486) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
...dChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.direction = new Vector3(0, -1.0, -1.0); 如果还是达不到你想要的效果的话就尝试更改一下你的材质 材质与灯光的详细介绍连接 https://ldc.layabox.com/doc/?nav=zh-...
来源: Laya_社区 发布时间: 20180410
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20171206
...arehouse/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
...d(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflection = true;...
来源: Laya2.0_文档 发布时间: 20210715
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)” 附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了) 补充: U...
来源: Laya_社区 发布时间: 20171129
...hSprite3D; if(index == 0) { this.model.transform.position = new Laya.Vector3(0.8,0,0); } }); //===================报错====================== let temp:Laya.MeshSprite3D = Laya.MeshSprite3D.load("res/Coin/layaScene.lh") as Laya.MeshSprite3D; scene.addChild(temp); temp.on(Laya.Event.HI...
来源: Laya_社区 发布时间: 20180827
...获取包围盒,不允许修改其值。 BaseRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRen...
来源: laya_api 发布时间: 20170929
...ddChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.load("res/mod5_13.lh")) as Sprite3D; c416288806 • 2018-03-05 11:41 有看到回复的...
来源: Laya_社区 发布时间: 20180305
...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...
来源: Laya3.0_api 发布时间: 20231115
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20180125