大约有 922 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0048 秒)
Laya_社区(469) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(16)
...来自: 这个要在IDE上赋值,或者用代码, 而且类型为vector3 应该用vector3 赋值 2019-05-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gogo 相关问题 Layaair IDE的帧属性面板不见了 1.7.20beta有bu...
来源: Laya_社区 发布时间: 20190523
...yaExport.DataManager:getComponentsData(GameObject, JSONObject, JSONObject, Vector3, Quaternion, Vector3, String&) 请问下是不支持什么格式吗? 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20180321
... dhBox.meshRender.material = dhBoxMat; dhBox.transform.position = new Laya.Vector3(0.32, 2.13, 34.1); dhBox.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); dhBox.layer = Laya.Layer.getLayerByNumber(10); 然后这样去检测他 Laya.Physics.rayCast(ray, _outHitInfo, 30, 10); 但是,实际...
来源: Laya_社区 发布时间: 20180409
...ompose函数用法 decompose是分解矩阵函数。 decompose(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 假设单位矩阵A ,平移后变成矩阵B,缩放某轴后变成矩阵C,绕某轴旋转后变成矩阵D。然后用decompose可以分别获得 平移向量、缩放...
来源: Laya_社区 发布时间: 20170227
...tion代码警告提示 定向光设置 directionLight.direction = new Laya.Vector3(-.3, -1, -1); 会提示 Warning: discard property,please use transform's property instead. 去掉就不会, 设置transform会报错 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180112
... this.osizex && this.tsizez > this.osizez) { var eat = new Laya.Vector3(0, 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.re...
来源: Laya_社区 发布时间: 20181017
...ticalSize = 7; //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210715
...ticalSize = 7; //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210714
...还是ide自带的都会报这个错 代码里lay自带都库会报错 Vector3 is not a constructor 我用都laya as3 laya这边mac是不是根本就没测试过 各种问题 2018-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180825
...到旋转之前的视角 摄像机旋转camera.transform.rotate(new Laya.Vector3(0.15, -5.95, 0.015)); 之后通过camera.transform.rotate(new Laya.Vector3(-0.15, 5.95, -0.015)); 不能回到原来的视角 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181012