En esta página

QuaternionAnimation QML Type

Un PropertyAnimation para cuaterniones. Más...

Import Statement: import Qt3D.Core 2.11
Inherits:

PropertyAnimation

Status: Deprecated

Descripción detallada

Un PropertyAnimation especializado que define una animación entre dos quaternions.

Por defecto se utiliza la interpolación lineal esférica. Esto puede cambiarse por la interpolación lineal normalizada, más rápida pero menos precisa, estableciendo la propiedad type.

En lugar de especificar cuaterniones directamente en las propiedades from y to, también es posible proporcionar ángulos euler en grados en las propiedades fromXRotation, toXRotation, fromYRotation, toYRotation, fromZRotation, toZRotation.

Nota: Evite mezclar las propiedades basadas en cuaterniones y en ángulos euler. Se espera que los valores "desde" y "hasta" estén completamente especificados mediante un cuaternión o los tres ángulos de Euler.

Véase también Animación y transiciones en Qt Quick, QQuaternion, QQuaternion::slerp(), y QQuaternion::nlerp().

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