QQuaternion::EulerAngles Struct

template <typename T> struct QQuaternion::EulerAngles

This struct was introduced in Qt 6.11.

Public Variables

T pitch
T roll
T yaw

Detailed Description

A struct containing three fields pitch, yaw, and roll, representing the three Euler angles that define a quaternion.

Consult the documentation of functions taking or returning an EulerAngles object for the order in which the rotations are applied.

See also QQuaternion::eulerAngles() and QQuaternion::fromEulerAngles(QQuaternion::EulerAngles<float>).

Member Variable Documentation

T EulerAngles::pitch

The pitch represents the rotation around the x-axis.

T EulerAngles::roll

The roll represents the rotation around the z-axis.

T EulerAngles::yaw

The yaw represents the rotation around the y-axis.

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