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

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

11. 同样的世界位置坐标,有父transform和没有父transform显示在两个不同的位置 [ 92%]

同样的世界位置坐标,有父transform和没有父transform显示在两个不同的位置 赋值同样的位置vector3,注释掉设置父transform的代码和不注释掉的情况下,显示在不同的位置 2017-12-27 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

12. 现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 [ 92%]

现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

13. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 91%]

...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...

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

14. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 91%]

...,   目测bug原因是 laya.cannonPhysics.js 内的_innerDerivePhysicsTransformation 方法中,错误的将 colliderShape.localOffset 的世界坐标,设置成了 transform.position 。导致物体会一直匀速移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var tra...

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

15. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 91%]

...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...

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

16. Laya3.0 获取物体初始位置错误 [ 91%]

... Laya_Fred 赞同来自: 您好,在初始化this.initPos = this.rabbit.transform.postion;的时候,实际长拿到的是rabbit.transform.postion的引用,所以在修改rabbit.transform.position之后,打印的this.initPos也会同步变化;要解决这个问题可以获取rabbit.transform...

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

17. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 90%]

...irectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在...

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

18. 如何动态获取image的宽高? [ 90%]

...jd); tf.translate(thisp.x,thisp.y); var otf:Matrix=new Matrix();//photoimg.transform?photoimg.transform:new Matrix(); //trace("jjjj1",photoimg.x,photoimg.y,photoimg.width,photoimg.height,photoimg.rotation); photoimg.transform=otf.concat(tf); image图片 通过矩阵旋转, bug1 如果设置缩放 ...

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

19. laya.d3.core.pixelLine.PixelLineRenderer [ 89%]

...te3D)PixelLineRenderer  _renderUpdateWithCamera(context:RenderContext3D, transform:Transform3D):void[override] PixelLineRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注...

来源: Laya2.0_api 发布时间: 20190513

20. laya.d3.core.Transform3D_API3.0 [ 88%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3D Index Properties tmpVec3 Accessors localMatrix localPosition localPositionX localPositi...

来源: Laya3.0_api 发布时间: 20231115