大约有 726 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0042 秒)
Laya_社区(330) Laya3.0_api(99) Laya2.0_api(82) laya_api(76) Laya2.0_文档(63) Laya_示例(46) Laya3.0_文档(18) Laya2.0_示例(12)
...sform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLig...
来源: Laya_社区 发布时间: 20180725
...述也太少了吧。 有刚体的情况isKinematic=true就可以直接改rotation了 或者用力的情况applyTorque也可以啊 2019-01-11 0 0 分享 微博 QZONE 微信 叶子 赞同来自: 。。抱歉。有点着急,没说好。 就是人物在空中的时候需要进行旋转,如果设置...
来源: Laya_社区 发布时间: 20190111
...); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var directionLight = new Laya.DirectionLight(); this.scene.addChild(directionLight); //设置灯光方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new L...
来源: Laya_社区 发布时间: 20191209
...eObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignoreNullChild) LayaExport...
来源: Laya_社区 发布时间: 20180319
...相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移...
来源: Laya2.0_文档 发布时间: 20210715
...相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移...
来源: Laya2.0_文档 发布时间: 20210714
...Random Between two Constant* 随机在最大最小数中取常数 8. `StartRotation` 开始旋转 1. *Constant* 常数 9. `3DRotaion` 3D 旋转参数 1. *Constant* 常数 2. *Random Between two Constant* 随机在最大最小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartCol...
来源: Laya2.0_文档 发布时间: 20210715
...Random Between two Constant* 随机在最大最小数中取常数 8. `StartRotation` 开始旋转 1. *Constant* 常数 9. `3DRotaion` 3D 旋转参数 1. *Constant* 常数 2. *Random Between two Constant* 随机在最大最小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartCol...
来源: Laya2.0_文档 发布时间: 20210714
...Random Between two Constant* 随机在最大最小数中取常数 8. `StartRotation` 开始旋转 1. *Constant* 常数 9. `3DRotaion` 3D 旋转参数 1. *Constant* 常数 2. *Random Between two Constant* 随机在最大最小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartCol...
来源: Laya2.0_文档 发布时间: 20210715
...子的相对旋转,相对位移,以及缩放。 pangzi.transform.localRotation = _rotation; pangzi.transform.localPosition = _position; pangzi.transform.localScale = _scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移除 dragonAnimator2.unLi...
来源: Laya2.0_文档 发布时间: 20210714