61QQuick3DQuaternionAnimation::QQuick3DQuaternionAnimation(QObject *parent)
62 : QQuickPropertyAnimation(*(
new QQuick3DQuaternionAnimationPrivate), parent)
64 Q_D(QQuick3DQuaternionAnimation);
65 d->interpolatorType = qMetaTypeId<QQuaternion>();
66 d->defaultToInterpolatorType =
true;
67 d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType);
122void QQuick3DQuaternionAnimation::setType(Type type)
124 Q_D(QQuick3DQuaternionAnimation);
131 d->interpolator =
reinterpret_cast<QVariantAnimation::Interpolator>(
reinterpret_cast<
void(*)()>(&q_quaternionNlerpInterpolator));
135 d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType);
139 emit typeChanged(type);