大约有 917 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0060 秒)
Laya_社区(466) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(14)
...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
...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
...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
...获取包围盒,不允许修改其值。 BaseRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRen...
来源: laya_api 发布时间: 20170929