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

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

1. 灯光-方向光 [ 100%]

....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

2. 灯光-点光 [ 97%]

....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

3. laya.maths.Quaternion_API3.0 [ 96%]

...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

4. laya.d3.math.Quaternion_API3.0 [ 95%]

...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

5. 灯光-聚光 [ 94%]

...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.native.ConchQuaternion_API3.0 [ 94%]

...eZ scaling add createFromAxisAngle createFromMatrix3x3 createFromMatrix4x4 createFromYawPitchRoll dot invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new ConchQuaternion(x?: number, y?: number, z?: number, w?: number, nativeElements?: Float32Array): ConchQuat...

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

7. 高级应用-实时阴影 [ 89%]

....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

8. 已知方向向量怎么转欧拉角 [ 88%]

... 1 个回复 Laya_Aaron 赞同来自: Quaternion   public static function createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion) 2019-04-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...

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

9. laya.d3.math.Quaternion [ 88%]

... 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

10. laya.d3.math.Quaternion [ 86%]

... 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