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

大约有 2 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)

1. 3D变换 · LayaAir3.0文档 · LAYABOX [ 100%]

... Transform3D._tempVector30); rot = Transform3D._tempVector30; } Quaternion.createFromYawPitchRoll(rot.y, rot.x, rot.z, Transform3D._tempQuaternion0); if (isLocal) { Quaternion.multiply(this._localRotation, Transform3D._tempQuaternion0, this._localRotation); this.localRotation = this._localRotation; ...

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

2. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 76%]

...n(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRotationZ); this.tempRotationZ.cloneTo(this.camera.transform.localRotation); this.camera.transform.localRotation = this.camera.tra...

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