大约有 925 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0092 秒)
Laya_社区(470) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
...ddChild(new Laya.MeshSprite3D(mesh)); 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
...ody.overrideGravity = true; rigidbody.gravity = new Laya.Vector3(); rigidbody.isTrigger = true; rigidbody.isKinematic = false; rigidbody.colliderShape = new Laya.CompoundColliderShape(); this.cube.transform.loc...
来源: Laya_社区 发布时间: 20200223
... 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,...
来源: Laya3.0_文档 发布时间: 20251010
...tions.Generic.List`1 A_2) r.a (UnityEngine.GameObject A_0, .i A_1, .i A_2, Vector3 A_3, Quaternion A_4, Vector3 A_5, System.String& A_6) r.a (UnityEngine.GameObject A_0, System.String A_1, .i A_2, Boolean A_3, Boolean A_4, Boolean A_5) r.i () r.k () r.b (System.String A_0) LayaAir3D.exportResour...
来源: Laya_社区 发布时间: 20190429
...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
...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
...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
...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
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)” 附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了) 补充: U...
来源: Laya_社区 发布时间: 20171129
...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