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

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

1. laya.maths.Quaternion_API3.0 [ 100%]

...Y rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: number, w?: number): Quaternion Defined in laya/math...

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

2. laya.d3.math.Quaternion_API3.0 [ 99%]

...Y rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: number, w?: number): Quaternion Defined in laya/d3/m...

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

3. 灯光-方向光 [ 98%]

....Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLight.direction = _direction; });class DirectionLightDemo ...

来源: Laya_示例 发布时间: 20241125

4. 灯光-点光 [ 96%]

....Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(pointLight.transform.position, _quaternion, _position); pointLight.transform.position = _position; });class PointLightDemo { private scene: Laya.Sce...

来源: Laya_示例 发布时间: 20241125

5. 灯光-聚光 [ 95%]

...aya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(spotLight.transform.position, _quaternion, _position); spotLight.transform.position = _position; var _direction = spotLight.direction; Laya.Vector3....

来源: Laya_示例 发布时间: 20241125

6. laya.d3.math.Quaternion [ 95%]

... out:Quaternion):void[static] 从旋转矩阵计算四元数 Quaternion  createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion):void[static] 从欧拉角生成四元数(顺序为Yaw、Pitch、Roll) Quaternion  dot(left:Quaternion, right:Quaternion):Number[static] 计...

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

7. laya.d3.math.Quaternion [ 94%]

... out:Quaternion):void[static] 从旋转矩阵计算四元数 Quaternion  createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion):void[static] 从欧拉角基元四元数(顺序为Yaw、Pitch、Roll) Quaternion  dot(left:Quaternion, right:Quaternion):Number[static] 计...

来源: laya_api 发布时间: 20170929

8. 高级应用-实时阴影 [ 92%]

....Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLight.direction = _direction; }); function onComplete() { ...

来源: Laya_示例 发布时间: 20241125

9. Laya.Quaternion.lerp和Laya.Quaternion.rotationLookAt问题! [ 90%]

...输出四元数          */         public static function createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion):void { 2019-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Daze 相关问题 ...

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

10. CameraMoveScript.as在哪儿下载群里的有错 [ 85%]

... = yawPitchRoll.elements; if (Math.abs(yprElem[1]) < 1.50) { Quaternion.createFromYawPitchRoll(yprElem[0], yprElem[1], yprElem[2], tempRotationZ); camera.transform.localRotation = tempRotationZ; } } } } a69536989 • 2018-01-29 17:47 我的解决了,你要脚本的话联系我 a69536989 • 201...

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