QuaternionAnimation QML Type
|Import Statement:||import Qt3D.Core 2.15|
By default spherical linear interpolation is used. This can be changed to the faster but less accurate normalized linear interpolation by setting the type property.
Instead of specifying quaternions directly in the from and to properties, it is also possible to provide euler angles in degrees in the fromXRotation, toXRotation, fromYRotation, toYRotation, fromZRotation, toZRotation properties.
Note: Avoid mixing the quaternion and euler angle-based properties. The from and to values are expected to be fully specified either via a quaternion or the three euler angles.
© 2023 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.