QQuaternion::EulerAngles Struct
template <typename T> struct QQuaternion::EulerAngles该结构体在 Qt 6.11 中引入。
- 所有成员列表(包括继承的成员)
- EulerAngles 属于“3D 渲染”范畴。
公共变量
详细说明
EulerAngles<T> 是一个结构体模板,其中T 指定了用于角度值的浮点类型(通常为float )。
该结构体包含三个字段pitch 、yaw 和roll ,分别代表定义quaternion 的三个欧拉角。
有关旋转应用的顺序,请查阅接受或返回 EulerAngles 对象的函数的文档。
另请参阅 QQuaternion::eulerAngles() 和QQuaternion::fromEulerAngles(QQuaternion::EulerAngles<float>)。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.