• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0049 秒)

771. 物理系统之约束(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 64%]

...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:number)...

来源: Laya2.0_文档 发布时间: 20210715

772. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 64%]

...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

773. 为模型指定地形材质报错 [ 64%]

...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

774. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 64%]

...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

775. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 64%]

...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

776. 物理系统之约束(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 64%]

...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:Number)...

来源: Laya2.0_文档 发布时间: 20210714

777. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 64%]

...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

778. laya3d导入模型动画,添加光照之后,模型全黑。 [ 64%]

...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

779. 资源导出出错,怎么解 [ 64%]

...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

780. as中BoxCollider引入了,但是运行的时候还是提示null [ 64%]

...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