大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0049 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:number)...
来源: Laya2.0_文档 发布时间: 20210715
...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); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya.Handler.create(null, function(tex) { //实例PBR材质 var...
来源: Laya2.0_文档 发布时间: 20210715
...lared identifier ERROR: 0:285: 'a' : field selection requires structure or vector on left hand side 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 183*****755 赞同来自: 不能这样使用,meshSpri...
来源: Laya_社区 发布时间: 20170615
...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
...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:Number)...
来源: Laya2.0_文档 发布时间: 20210714
...atic create create(source: BaseTexture, dest: RenderTexture, offsetScale?: Vector4, shader?: Shader3D, shaderData?: ShaderData, subShader?: number, screenType?: number, commandbuffer?: CommandBuffer): BlitScreenQuadCMD Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:36 创建命令流 Pa...
来源: Laya3.0_api 发布时间: 20231115
...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