QuaternionAnimation QML Type

Eine PropertyAnimation für Quaternionen. Mehr...

Import Statement: import Qt3D.Core 2.8
Inherits:

PropertyAnimation

Status: Deprecated

Detaillierte Beschreibung

Eine spezialisierte PropertyAnimation, die eine Animation zwischen zwei quaternions definiert.

Standardmäßig wird sphärische lineare Interpolation verwendet. Dies kann durch Setzen der Eigenschaft type auf die schnellere, aber weniger genaue normalisierte lineare Interpolation geändert werden.

Anstatt Quaternionen direkt in den Eigenschaften from und to anzugeben, ist es auch möglich, Eulerwinkel in Grad in den Eigenschaften fromXRotation, toXRotation, fromYRotation, toYRotation, fromZRotation, toZRotation anzugeben.

Hinweis: Vermeiden Sie es, die auf Quaternionen und Eulerwinkeln basierenden Eigenschaften zu vermischen. Es wird erwartet, dass die Werte von und bis entweder über ein Quaternion oder die drei Eulerwinkel vollständig angegeben werden.

Siehe auch Animation und Übergänge in Qt Quick, QQuaternion, QQuaternion::slerp(), und QQuaternion::nlerp().

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