En esta página

QuaternionAnimation QML Type

Un ` PropertyAnimation ` para cuaterniones. Más información...

Import Statement: import Qt3D.Core 2.12
Inherits:

PropertyAnimation

Status: Deprecated

Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.

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 se puede cambiar a la interpolación lineal normalizada, más rápida pero menos precisa, configurando la propiedad ` type `.

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

Nota: Evita mezclar las propiedades basadas en cuaterniones y en ángulos de Euler. Se espera que los valores «from» y «to» se especifiquen completamente, ya sea mediante un cuaternión o mediante 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.