QQuaternionAnimation Class

(Qt3DCore::Quick::QQuaternionAnimation)

Public Types

enum Type { Slerp, Nlerp }

Properties

Public Functions

QQuaternionAnimation(QObject *parent = 0)
QQuaternion from() const
float fromXRotation() const
float fromYRotation() const
float fromZRotation() const
void setFrom(const QQuaternion &f)
void setFromXRotation(float f)
void setFromYRotation(float f)
void setFromZRotation(float f)
void setTo(const QQuaternion &t)
void setToXRotation(float f)
void setToYRotation(float f)
void setToZRotation(float f)
void setType(Type type)
QQuaternion to() const
float toXRotation() const
float toYRotation() const
float toZRotation() const
Type type() const

Signals

void fromXRotationChanged(float value)
void fromYRotationChanged(float value)
void fromZRotationChanged(float value)
void toXRotationChanged(float value)
void toYRotationChanged(float value)
void toZRotationChanged(float value)
void typeChanged(Type type)

Member Type Documentation

enum QQuaternionAnimation::Type

Property Documentation

from : QQuaternion

Access functions:

QQuaternion from() const
void setFrom(const QQuaternion &f)

fromXRotation : float

Access functions:

float fromXRotation() const
void setFromXRotation(float f)

Notifier signal:

void fromXRotationChanged(float value)

fromYRotation : float

Access functions:

float fromYRotation() const
void setFromYRotation(float f)

Notifier signal:

void fromYRotationChanged(float value)

fromZRotation : float

Access functions:

float fromZRotation() const
void setFromZRotation(float f)

Notifier signal:

void fromZRotationChanged(float value)

to : QQuaternion

Access functions:

QQuaternion to() const
void setTo(const QQuaternion &t)

toXRotation : float

Access functions:

float toXRotation() const
void setToXRotation(float f)

Notifier signal:

void toXRotationChanged(float value)

toYRotation : float

Access functions:

float toYRotation() const
void setToYRotation(float f)

Notifier signal:

void toYRotationChanged(float value)

toZRotation : float

Access functions:

float toZRotation() const
void setToZRotation(float f)

Notifier signal:

void toZRotationChanged(float value)

type : Type

Access functions:

Type type() const
void setType(Type type)

Notifier signal:

void typeChanged(Type type)

Member Function Documentation

QQuaternionAnimation::QQuaternionAnimation(QObject *parent = 0)

Default constructs an instance of QQuaternionAnimation.