大约有 532 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(199) Laya3.0_api(96) Laya2.0_api(88) laya_api(81) Laya2.0_文档(51) Laya3.0_文档(11) Laya_示例(6)
同样的世界位置坐标,有父transform和没有父transform显示在两个不同的位置 赋值同样的位置vector3,注释掉设置父transform的代码和不注释掉的情况下,显示在不同的位置 2017-12-27 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20171227
现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20170601
...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...
来源: Laya2.0_文档 发布时间: 20210715
..., 目测bug原因是 laya.cannonPhysics.js 内的_innerDerivePhysicsTransformation 方法中,错误的将 colliderShape.localOffset 的世界坐标,设置成了 transform.position 。导致物体会一直匀速移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var tra...
来源: Laya_社区 发布时间: 20210904
...Light()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法...
来源: Laya2.0_文档 发布时间: 20210715
... Laya_Fred 赞同来自: 您好,在初始化this.initPos = this.rabbit.transform.postion;的时候,实际长拿到的是rabbit.transform.postion的引用,所以在修改rabbit.transform.position之后,打印的this.initPos也会同步变化;要解决这个问题可以获取rabbit.transform...
来源: Laya_社区 发布时间: 20230404
...irectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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