QGraphicsTranslation3D ClassThe QGraphicsTranslation3D class supports translation of 3D items. More... #include <QGraphicsTranslation3D> Inherits: QQuickQGraphicsTransform3D. QGraphicsTranslation3D is instantiated by QML element Translation3D This class was introduced in Qt 4.8. Properties
Public Functions
Signals
Additional Inherited Members
Detailed DescriptionThe QGraphicsTranslation3D class supports translation of 3D items. QGraphicsTranslation3D is derived directly from QGraphicsTransform, and provides a translate property to specify the 3D vector to apply to incoming co-ordinates. The progress property can be used to perform animation along a translation vector by varying the progress value between 0 and 1. Overshoot animations are also possible by setting the progress value to something outside this range. The default progress value is 1. See also QGraphicsRotation3D and QGraphicsScale3D. Property Documentation
|
qreal | progress() const |
void | setProgress(qreal value) |
Notifier signal:
void | progressChanged() |
This property holds the translation to apply to incoming co-ordinates.
The default value for this property is (0, 0, 0).
Access functions:
QVector3D | translate() const |
void | setTranslate(const QVector3D & value) |
Notifier signal:
void | translateChanged() |
Constructs a new translation and attaches it to parent.
Destroys this translation.