![]() |
Qt 6.x
The Qt SDK
|
\qmltype QuaternionAnimation \inherits PropertyAnimation \inqmlmodule QtQuick3D More...
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static QVariant | interpolateVariant (const QVariant &from, const QVariant &to, qreal progress) |
static void | convertVariant (QVariant &variant, QMetaType type) |
![]() | |
static QQmlProperty | createProperty (QObject *obj, const QString &str, QObject *infoObj, QString *errorMessage=nullptr) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
\qmltype QuaternionAnimation \inherits PropertyAnimation \inqmlmodule QtQuick3D
A PropertyAnimation for quaternions.
A specialized \l{PropertyAnimation} that defines an animation between two \l{QQuaternion}{quaternions}.
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.
Definition at line 36 of file qquick3dquaternionanimation.cpp.
|
inline |
Definition at line 41 of file qquick3dquaternionanimation.cpp.
QVector3D QQuick3DQuaternionAnimationPrivate::anglesFrom |
Definition at line 46 of file qquick3dquaternionanimation.cpp.
QVector3D QQuick3DQuaternionAnimationPrivate::anglesTo |
Definition at line 47 of file qquick3dquaternionanimation.cpp.
QQuick3DQuaternionAnimation::Type QQuick3DQuaternionAnimationPrivate::type |
Definition at line 45 of file qquick3dquaternionanimation.cpp.