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

大约有 975 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)

591. 缓动 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

... 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,...

来源: Laya3.0_文档 发布时间: 20251010

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

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

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

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

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

595. 资源导出出错,怎么解 [ 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

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

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

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

598. 导出角色报错,求看下什么问题 [ 63%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)”   附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了)   补充: U...

来源: Laya_社区 发布时间: 20171129

599. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 63%]

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

600. laya.d3.core.render.BaseRender [ 63%]

...获取包围盒,不允许修改其值。 BaseRender  boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender  boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender  castShadow : Boolean 是否产生阴影。 BaseRen...

来源: laya_api 发布时间: 20170929